Spaces:
Running
Running
use radio for model options
Browse files
app.py
CHANGED
|
@@ -208,7 +208,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 208 |
with gr.Column():
|
| 209 |
gr.Markdown("**Generation Parameters**<br>")
|
| 210 |
with gr.Row():
|
| 211 |
-
model_name = gr.
|
| 212 |
["THUDM/CogVideoX-2b", "THUDM/CogVideoX-5b"], label="Model Type", value="THUDM/CogVideoX-2b"
|
| 213 |
)
|
| 214 |
with gr.Row():
|
|
|
|
| 208 |
with gr.Column():
|
| 209 |
gr.Markdown("**Generation Parameters**<br>")
|
| 210 |
with gr.Row():
|
| 211 |
+
model_name = gr.Radio(
|
| 212 |
["THUDM/CogVideoX-2b", "THUDM/CogVideoX-5b"], label="Model Type", value="THUDM/CogVideoX-2b"
|
| 213 |
)
|
| 214 |
with gr.Row():
|