Update app.py
Browse files
app.py
CHANGED
|
@@ -515,7 +515,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
| 515 |
# outputs = [image_slider, file_output])
|
| 516 |
|
| 517 |
|
| 518 |
-
|
| 519 |
|
| 520 |
# submit1.click(fn=inference,
|
| 521 |
# inputs=[prompt1, negative_prompt1, cfg1, steps1, seed1],
|
|
|
|
| 515 |
# outputs = [image_slider, file_output])
|
| 516 |
|
| 517 |
|
| 518 |
+
sample.click(fn=sample_then_run, outputs=[input_image, file_output])
|
| 519 |
|
| 520 |
# submit1.click(fn=inference,
|
| 521 |
# inputs=[prompt1, negative_prompt1, cfg1, steps1, seed1],
|