Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,9 +65,12 @@ def make_me():
|
|
| 65 |
gen_event = gen_button.click(gen_fn, [m, txt_input], o)
|
| 66 |
stop_button.click(lambda s: gr.update(interactive=False), None, stop_button, cancels=[gen_event])
|
| 67 |
with gr.Accordion('Model selection'):
|
| 68 |
-
model_choice = gr.CheckboxGroup(models, label=f' {num_models} different models selected', value=default_models,
|
|
|
|
| 69 |
model_choice.change(update_imgbox, model_choice, output)
|
| 70 |
model_choice.change(extend_choices, model_choice, current_models)
|
|
|
|
|
|
|
| 71 |
with gr.Row():
|
| 72 |
gr.HTML("""
|
| 73 |
<div class="footer">
|
|
|
|
| 65 |
gen_event = gen_button.click(gen_fn, [m, txt_input], o)
|
| 66 |
stop_button.click(lambda s: gr.update(interactive=False), None, stop_button, cancels=[gen_event])
|
| 67 |
with gr.Accordion('Model selection'):
|
| 68 |
+
#model_choice = gr.CheckboxGroup(models, label=f' {num_models} different models selected', value=default_models, max_choices=num_models, interactive=True, filterable=False)
|
| 69 |
+
model_choice = gr.CheckboxGroup(models, label=f' {num_models} different models selected', value=default_models, max_choices=num_models, interactive=True, filterable=False)
|
| 70 |
model_choice.change(update_imgbox, model_choice, output)
|
| 71 |
model_choice.change(extend_choices, model_choice, current_models)
|
| 72 |
+
|
| 73 |
+
|
| 74 |
with gr.Row():
|
| 75 |
gr.HTML("""
|
| 76 |
<div class="footer">
|