Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -236,7 +236,8 @@ with gr.Blocks() as app:
|
|
| 236 |
).success(
|
| 237 |
inference,
|
| 238 |
inputs=[control_image, prompt, negative_prompt, guidance_scale, controlnet_conditioning_scale, control_start, control_end, strength, seed, sampler],
|
| 239 |
-
outputs=[result_image, result_image, share_group, used_seed]
|
|
|
|
| 240 |
run_btn.click(
|
| 241 |
check_inputs,
|
| 242 |
inputs=[prompt, control_image],
|
|
@@ -244,7 +245,8 @@ with gr.Blocks() as app:
|
|
| 244 |
).success(
|
| 245 |
inference,
|
| 246 |
inputs=[control_image, prompt, negative_prompt, guidance_scale, controlnet_conditioning_scale, control_start, control_end, strength, seed, sampler],
|
| 247 |
-
outputs=[result_image, result_image, share_group, used_seed]
|
|
|
|
| 248 |
share_button.click(None, [], [], js=share_js)
|
| 249 |
|
| 250 |
with gr.Blocks(css=css) as app_with_history:
|
|
|
|
| 236 |
).success(
|
| 237 |
inference,
|
| 238 |
inputs=[control_image, prompt, negative_prompt, guidance_scale, controlnet_conditioning_scale, control_start, control_end, strength, seed, sampler],
|
| 239 |
+
outputs=[result_image, result_image, share_group, used_seed])
|
| 240 |
+
|
| 241 |
run_btn.click(
|
| 242 |
check_inputs,
|
| 243 |
inputs=[prompt, control_image],
|
|
|
|
| 245 |
).success(
|
| 246 |
inference,
|
| 247 |
inputs=[control_image, prompt, negative_prompt, guidance_scale, controlnet_conditioning_scale, control_start, control_end, strength, seed, sampler],
|
| 248 |
+
outputs=[result_image, result_image, share_group, used_seed])
|
| 249 |
+
|
| 250 |
share_button.click(None, [], [], js=share_js)
|
| 251 |
|
| 252 |
with gr.Blocks(css=css) as app_with_history:
|