Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ with gr.Blocks() as demo:
|
|
68 |
gen_event = gen_button.click(gen_fn, [m, txt_input], o)
|
69 |
stop_button.click(lambda s: gr.update(interactive = False), None, stop_button, cancels = [gen_event])
|
70 |
with gr.Accordion('Model selection'):
|
71 |
-
model_choice = gr.CheckboxGroup(models, label = f'Choose up to {num_models} different models from the
|
72 |
model_choice.change(update_imgbox, model_choice, output)
|
73 |
model_choice.change(extend_choices, model_choice, current_models)
|
74 |
with gr.Row():
|
|
|
68 |
gen_event = gen_button.click(gen_fn, [m, txt_input], o)
|
69 |
stop_button.click(lambda s: gr.update(interactive = False), None, stop_button, cancels = [gen_event])
|
70 |
with gr.Accordion('Model selection'):
|
71 |
+
model_choice = gr.CheckboxGroup(models, label = f'Choose up to {num_models} different models from the 874 available!', value = default_models, multiselect = True, max_choices = num_models, interactive = True, filterable = False)
|
72 |
model_choice.change(update_imgbox, model_choice, output)
|
73 |
model_choice.change(extend_choices, model_choice, current_models)
|
74 |
with gr.Row():
|