Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -283,7 +283,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
283 |
seed,
|
284 |
use_hed,
|
285 |
]
|
286 |
-
outputs = [result, sketch_image]
|
287 |
run_button.click(lambda x: None, inputs=None, outputs=image_slider).then(
|
288 |
fn=run, inputs=inputs, outputs=outputs
|
289 |
)
|
@@ -297,7 +297,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
297 |
).then(lambda x: None, inputs=None, outputs=image_slider).then(
|
298 |
fn=run,
|
299 |
inputs=inputs,
|
300 |
-
outputs=
|
301 |
api_name=False,
|
302 |
)
|
303 |
negative_prompt.submit(
|
@@ -309,7 +309,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
309 |
).then(lambda x: None, inputs=None, outputs=image_slider).then(
|
310 |
fn=run,
|
311 |
inputs=inputs,
|
312 |
-
outputs=
|
313 |
api_name=False,
|
314 |
)
|
315 |
|
|
|
283 |
seed,
|
284 |
use_hed,
|
285 |
]
|
286 |
+
outputs = [image_slider, result, sketch_image]
|
287 |
run_button.click(lambda x: None, inputs=None, outputs=image_slider).then(
|
288 |
fn=run, inputs=inputs, outputs=outputs
|
289 |
)
|
|
|
297 |
).then(lambda x: None, inputs=None, outputs=image_slider).then(
|
298 |
fn=run,
|
299 |
inputs=inputs,
|
300 |
+
outputs=outputs,
|
301 |
api_name=False,
|
302 |
)
|
303 |
negative_prompt.submit(
|
|
|
309 |
).then(lambda x: None, inputs=None, outputs=image_slider).then(
|
310 |
fn=run,
|
311 |
inputs=inputs,
|
312 |
+
outputs=outputs,
|
313 |
api_name=False,
|
314 |
)
|
315 |
|