Spaces:
Paused
Paused
P01yH3dr0n
commited on
Commit
•
95c4094
1
Parent(s):
7f794a3
Update app.py
Browse files
app.py
CHANGED
@@ -116,7 +116,7 @@ def main_ui():
|
|
116 |
gen_btn, paras, others = control_ui()
|
117 |
with gr.Column():
|
118 |
image, info = preview_ui()
|
119 |
-
gen_btn.click(generate, paras + [others[0], others[
|
120 |
others[2].click(lambda o, s: o if len(s) == 0 else s['parameters']['seed'], inputs=[paras[3], info], outputs=paras[3])
|
121 |
others[3].click(lambda i: i, inputs=image, outputs=paras[14])
|
122 |
others[4].click(lambda i: i, inputs=image, outputs=paras[17])
|
|
|
116 |
gen_btn, paras, others = control_ui()
|
117 |
with gr.Column():
|
118 |
image, info = preview_ui()
|
119 |
+
gen_btn.click(generate, paras + [others[0], others[5]], [image, info])
|
120 |
others[2].click(lambda o, s: o if len(s) == 0 else s['parameters']['seed'], inputs=[paras[3], info], outputs=paras[3])
|
121 |
others[3].click(lambda i: i, inputs=image, outputs=paras[14])
|
122 |
others[4].click(lambda i: i, inputs=image, outputs=paras[17])
|