oahzxl commited on
Commit
e98d57f
1 Parent(s): eb4261b

use radio for model options

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Dropdown(
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():