Fix: reset button
Browse files
app.py
CHANGED
|
@@ -136,7 +136,18 @@ def main():
|
|
| 136 |
)
|
| 137 |
reset_button.click(
|
| 138 |
fn=reset_button_clicked,
|
| 139 |
-
outputs=[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
)
|
| 141 |
|
| 142 |
# Launch Gradio interface
|
|
|
|
| 136 |
)
|
| 137 |
reset_button.click(
|
| 138 |
fn=reset_button_clicked,
|
| 139 |
+
outputs=[
|
| 140 |
+
input_image,
|
| 141 |
+
instruction,
|
| 142 |
+
steps,
|
| 143 |
+
randomize_seed,
|
| 144 |
+
seed,
|
| 145 |
+
randomize_cfg,
|
| 146 |
+
text_cfg_scale,
|
| 147 |
+
image_cfg_scale,
|
| 148 |
+
resolution,
|
| 149 |
+
edited_image
|
| 150 |
+
],
|
| 151 |
)
|
| 152 |
|
| 153 |
# Launch Gradio interface
|