Spaces:
Paused
Paused
P01yH3dr0n
commited on
Commit
•
a48c731
1
Parent(s):
eef13e5
Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,7 @@ def main_ui():
|
|
125 |
gen_btn, paras, others = control_ui()
|
126 |
with gr.Column():
|
127 |
image, info = preview_ui()
|
128 |
-
gen_btn.click(generate, paras + [others[0]
|
129 |
others[2].click(lambda o, s: o if len(s) == 0 else s['parameters']['seed'], inputs=[paras[3], info], outputs=paras[3])
|
130 |
others[3].click(lambda i: i, inputs=image, outputs=paras[14])
|
131 |
others[4].click(lambda i: i, inputs=image, outputs=paras[17])
|
|
|
125 |
gen_btn, paras, others = control_ui()
|
126 |
with gr.Column():
|
127 |
image, info = preview_ui()
|
128 |
+
gen_btn.click(generate, paras + [others[0]], [image, info])
|
129 |
others[2].click(lambda o, s: o if len(s) == 0 else s['parameters']['seed'], inputs=[paras[3], info], outputs=paras[3])
|
130 |
others[3].click(lambda i: i, inputs=image, outputs=paras[14])
|
131 |
others[4].click(lambda i: i, inputs=image, outputs=paras[17])
|