Update app.py
Browse files
app.py
CHANGED
@@ -163,7 +163,7 @@ with gr.Blocks(css=css) as demo:
|
|
163 |
value=28,
|
164 |
)
|
165 |
|
166 |
-
run_button.click(lambda x: None, inputs=None, outputs=
|
167 |
fn=infer,
|
168 |
inputs=[image, prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps],
|
169 |
outputs=[result]
|
|
|
163 |
value=28,
|
164 |
)
|
165 |
|
166 |
+
run_button.click(lambda x: None, inputs=None, outputs=result).then(
|
167 |
fn=infer,
|
168 |
inputs=[image, prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps],
|
169 |
outputs=[result]
|