Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def gen_fn(model_str, prompt):
|
|
45 |
with gr.Blocks() as demo:
|
46 |
with gr.Tab('Multiple models'):
|
47 |
with gr.Accordion('Model selection'):
|
48 |
-
model_choice = gr.Dropdown(models, label = f'Choose up to {num_models} different models', value = default_models, multiselect = True, max_choices = num_models, interactive = True)
|
49 |
|
50 |
txt_input = gr.Textbox(label = 'Prompt text')
|
51 |
gen_button = gr.Button('Generate')
|
|
|
45 |
with gr.Blocks() as demo:
|
46 |
with gr.Tab('Multiple models'):
|
47 |
with gr.Accordion('Model selection'):
|
48 |
+
model_choice = gr.Dropdown(models, label = f'Choose up to {num_models} different models', value = default_models, multiselect = True, max_choices = num_models, interactive = True, filterable = False)
|
49 |
|
50 |
txt_input = gr.Textbox(label = 'Prompt text')
|
51 |
gen_button = gr.Button('Generate')
|