charliebaby2023 commited on
Commit
3a0cfaa
Β·
verified Β·
1 Parent(s): 8ba4e15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -87,16 +87,16 @@ def make_me():
87
  for m, o in zip(current_models, output):
88
  gen_event = gen_button.click(gen_fn, [m, txt_input, negative_prompt_input], o)
89
  stop_button.click(lambda s: gr.update(interactive=False), None, stop_button, cancels=[gen_event])
90
- with gr.Accordion('Model selection'):
91
- 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)
92
- model_choice.change(update_imgbox, model_choice, output)
93
- model_choice.change(extend_choices, model_choice, current_models)
94
- with gr.Row():
95
- gr.HTML("""
96
- <div class="footer">
97
- <p> Based on the <a href="https://huggingface.co/spaces/derwahnsinn/TestGen">TestGen</a> Space by derwahnsinn, the <a href="https://huggingface.co/spaces/RdnUser77/SpacIO_v1">SpacIO</a> Space by RdnUser77 and Omnibus's Maximum Multiplier!
98
- </p>
99
- """)
100
 
101
 
102
 
 
87
  for m, o in zip(current_models, output):
88
  gen_event = gen_button.click(gen_fn, [m, txt_input, negative_prompt_input], o)
89
  stop_button.click(lambda s: gr.update(interactive=False), None, stop_button, cancels=[gen_event])
90
+ # with gr.Accordion('Model selection'):
91
+ # 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)
92
+ # model_choice.change(update_imgbox, model_choice, output)
93
+ # model_choice.change(extend_choices, model_choice, current_models)
94
+ # with gr.Row():
95
+ # gr.HTML("""
96
+ # <div class="footer">
97
+ # <p> Based on the <a href="https://huggingface.co/spaces/derwahnsinn/TestGen">TestGen</a> Space by derwahnsinn, the <a href="https://huggingface.co/spaces/RdnUser77/SpacIO_v1">SpacIO</a> Space by RdnUser77 and Omnibus's Maximum Multiplier!
98
+ # </p>
99
+ # """)
100
 
101
 
102