Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ with gr.Blocks() as demo:
|
|
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 |
-
|
64 |
|
65 |
demo.queue(concurrency_count = 200)
|
66 |
demo.launch()
|
|
|
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)
|
66 |
demo.launch()
|