Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ with gr.Blocks() as demo:
|
|
68 |
stop_button.click(lambda s: gr.update(interactive=False), None, stop_button, cancels=[gen_event])
|
69 |
|
70 |
with gr.Accordion('Model selection'):
|
71 |
-
model_choice = gr.CheckboxGroup(models, label=f'Choose up to {num_models} different models from the best available!', value=default_models,
|
72 |
model_choice.change(update_imgbox, model_choice, output)
|
73 |
model_choice.change(extend_choices, model_choice, current_models)
|
74 |
|
@@ -82,4 +82,4 @@ with gr.Blocks() as demo:
|
|
82 |
)
|
83 |
|
84 |
demo.queue(concurrency_count=200)
|
85 |
-
demo.launch()
|
|
|
68 |
stop_button.click(lambda s: gr.update(interactive=False), None, stop_button, cancels=[gen_event])
|
69 |
|
70 |
with gr.Accordion('Model selection'):
|
71 |
+
model_choice = gr.CheckboxGroup(models, label=f'Choose up to {num_models} different models from the best available!', value=default_models, interactive=True)
|
72 |
model_choice.change(update_imgbox, model_choice, output)
|
73 |
model_choice.change(extend_choices, model_choice, current_models)
|
74 |
|
|
|
82 |
)
|
83 |
|
84 |
demo.queue(concurrency_count=200)
|
85 |
+
demo.launch()
|