Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ def make_me():
|
|
107 |
for m, o in zip(current_models, output):
|
108 |
gen_event = gen_button.click(gen_fn, [m, txt_input, negative_prompt_input], o, queue=False)
|
109 |
|
110 |
-
with gr.Accordion('Model selection'):
|
111 |
model_choice = gr.CheckboxGroup(models, label=f' {num_models} different models selected', value=default_models, interactive=True)
|
112 |
model_choice.change(update_imgbox, model_choice, output)
|
113 |
model_choice.change(extend_choices, model_choice, current_models)
|
@@ -137,7 +137,7 @@ with gr.Blocks(css="""
|
|
137 |
textarea { overflow-y: scroll; height: 212px; resize: both; width: 179px; min-height: 50px; max-height: 230px;}
|
138 |
.svelte-5y6bt2 {max-height:161px;min-height:160px;}
|
139 |
.hide-container { max-height: 2px; position: fixed; min-height: 1px;}
|
140 |
-
|
141 |
""") as demo:
|
142 |
gr.Markdown("<script>" + js_code + "</script>")
|
143 |
make_me()
|
|
|
107 |
for m, o in zip(current_models, output):
|
108 |
gen_event = gen_button.click(gen_fn, [m, txt_input, negative_prompt_input], o, queue=False)
|
109 |
|
110 |
+
with gr.Accordion('Model selection', visible=False):
|
111 |
model_choice = gr.CheckboxGroup(models, label=f' {num_models} different models selected', value=default_models, interactive=True)
|
112 |
model_choice.change(update_imgbox, model_choice, output)
|
113 |
model_choice.change(extend_choices, model_choice, current_models)
|
|
|
137 |
textarea { overflow-y: scroll; height: 212px; resize: both; width: 179px; min-height: 50px; max-height: 230px;}
|
138 |
.svelte-5y6bt2 {max-height:161px;min-height:160px;}
|
139 |
.hide-container { max-height: 2px; position: fixed; min-height: 1px;}
|
140 |
+
|
141 |
""") as demo:
|
142 |
gr.Markdown("<script>" + js_code + "</script>")
|
143 |
make_me()
|