Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ with gr.Blocks() as demo:
|
|
59 |
for m, o in zip(current_models, output):
|
60 |
gen_event = gen_button.click(gen_fn, [m, txt_input], o)
|
61 |
stop_button.click(lambda s: gr.update(interactive = False), None, stop_button, cancels = [gen_event])
|
62 |
-
|
63 |
model_choice = gr.CheckboxGroup(models, label = f'Choose up to {num_models} different models', value = default_models, multiselect = True, max_choices = num_models, interactive = True, filterable = False)
|
64 |
|
65 |
demo.queue(concurrency_count = 200)
|
|
|
59 |
for m, o in zip(current_models, output):
|
60 |
gen_event = gen_button.click(gen_fn, [m, txt_input], o)
|
61 |
stop_button.click(lambda s: gr.update(interactive = False), None, stop_button, cancels = [gen_event])
|
62 |
+
with gr.Accordion('Model selection'):
|
63 |
model_choice = gr.CheckboxGroup(models, label = f'Choose up to {num_models} different models', value = default_models, multiselect = True, max_choices = num_models, interactive = True, filterable = False)
|
64 |
|
65 |
demo.queue(concurrency_count = 200)
|