DemiPoto commited on
Commit
c274660
·
verified ·
1 Parent(s): 2a606e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -106,6 +106,7 @@ def make_me():
106
  for m, o in zip(current_models, output):
107
  gen_event = gen_button.click(gen_fn, [m, txt_input], o)
108
  stop_button.click(lambda s: gr.update(interactive=False), None, stop_button, cancels=[gen_event])
 
109
  """with gr.Accordion('Model selection'):
110
  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)
111
  model_choice.change(update_imgbox, (gen_button,stop_button,group_model_choice), output)
 
106
  for m, o in zip(current_models, output):
107
  gen_event = gen_button.click(gen_fn, [m, txt_input], o)
108
  stop_button.click(lambda s: gr.update(interactive=False), None, stop_button, cancels=[gen_event])
109
+ choicesT=choices
110
  """with gr.Accordion('Model selection'):
111
  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)
112
  model_choice.change(update_imgbox, (gen_button,stop_button,group_model_choice), output)