Spaces:
Runtime error
Runtime error
Linoy Tsaban
commited on
Commit
·
222fb9d
1
Parent(s):
c1ee41f
Update app.py
Browse files
app.py
CHANGED
|
@@ -765,6 +765,10 @@ with gr.Blocks(css="style.css") as demo:
|
|
| 765 |
fn = reset_do_reconstruction,
|
| 766 |
outputs = [do_reconstruction], queue = False)
|
| 767 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 768 |
dropdown1.change(fn=update_dropdown_parms, inputs = [dropdown1], outputs = [guidnace_scale_1,warmup_1, threshold_1], queue=False)
|
| 769 |
dropdown2.change(fn=update_dropdown_parms, inputs = [dropdown2], outputs = [guidnace_scale_2,warmup_2, threshold_2], queue=False)
|
| 770 |
dropdown3.change(fn=update_dropdown_parms, inputs = [dropdown3], outputs = [guidnace_scale_3,warmup_3, threshold_3], queue=False)
|
|
|
|
| 765 |
fn = reset_do_reconstruction,
|
| 766 |
outputs = [do_reconstruction], queue = False)
|
| 767 |
|
| 768 |
+
seed.change(fn=reset_do_inversion, outputs=[do_inversion], queue=False).then(
|
| 769 |
+
fn=reset_do_reconstruction, outputs=[do_reconstruction], queue=False
|
| 770 |
+
)
|
| 771 |
+
|
| 772 |
dropdown1.change(fn=update_dropdown_parms, inputs = [dropdown1], outputs = [guidnace_scale_1,warmup_1, threshold_1], queue=False)
|
| 773 |
dropdown2.change(fn=update_dropdown_parms, inputs = [dropdown2], outputs = [guidnace_scale_2,warmup_2, threshold_2], queue=False)
|
| 774 |
dropdown3.change(fn=update_dropdown_parms, inputs = [dropdown3], outputs = [guidnace_scale_3,warmup_3, threshold_3], queue=False)
|