hysts HF Staff commited on
Commit
db717e5
·
1 Parent(s): 68a3333

Add a comment

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -424,7 +424,7 @@ with gr.Blocks() as demo_submission:
424
  label="Model type",
425
  choices=[t.to_str(" : ") for t in ModelType if t != ModelType.Unknown],
426
  multiselect=False,
427
- value=lambda: None,
428
  )
429
 
430
  with gr.Column():
 
424
  label="Model type",
425
  choices=[t.to_str(" : ") for t in ModelType if t != ModelType.Unknown],
426
  multiselect=False,
427
+ value=lambda: None, # This is due to a breaking change in Gradio 5. https://github.com/gradio-app/gradio/issues/9463 . But it will be fixed in the next release. https://github.com/gradio-app/gradio/pull/9699
428
  )
429
 
430
  with gr.Column():