charliebaby2023 commited on
Commit
3ed6f90
1 Parent(s): 88264b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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, multiselect=True, max_choices=num_models, interactive=True, filterable=False)
 
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">