Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Add a comment
Browse files
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():
|