LeeveWasTaken commited on
Commit
6de341c
·
verified ·
1 Parent(s): 6427db7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -68,7 +68,7 @@ with gr.Blocks() as demo:
68
  stop_button.click(lambda s: gr.update(interactive=False), None, stop_button, cancels=[gen_event])
69
 
70
  with gr.Accordion('Model selection'):
71
- model_choice = gr.CheckboxGroup(models, label=f'Choose up to {num_models} different models from the best 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
 
@@ -82,4 +82,4 @@ with gr.Blocks() as demo:
82
  )
83
 
84
  demo.queue(concurrency_count=200)
85
- demo.launch()
 
68
  stop_button.click(lambda s: gr.update(interactive=False), None, stop_button, cancels=[gen_event])
69
 
70
  with gr.Accordion('Model selection'):
71
+ model_choice = gr.CheckboxGroup(models, label=f'Choose up to {num_models} different models from the best available!', value=default_models, interactive=True)
72
  model_choice.change(update_imgbox, model_choice, output)
73
  model_choice.change(extend_choices, model_choice, current_models)
74
 
 
82
  )
83
 
84
  demo.queue(concurrency_count=200)
85
+ demo.launch()