Spaces:
Running
on
Zero
Running
on
Zero
Deactivate queue for user history retrieval
#13
by
Wauplin
HF staff
- opened
app.py
CHANGED
@@ -134,7 +134,7 @@ with gr.Blocks(css=css) as app:
|
|
134 |
inputs=[control_image, prompt, negative_prompt, guidance_scale, controlnet_conditioning_scale, seed, sampler],
|
135 |
outputs=[result_image, share_group]
|
136 |
).then(
|
137 |
-
fn=fetch_gallery_history, inputs=[prompt, result_image], outputs=history
|
138 |
)
|
139 |
share_button.click(None, [], [], _js=share_js)
|
140 |
app.queue(max_size=20)
|
|
|
134 |
inputs=[control_image, prompt, negative_prompt, guidance_scale, controlnet_conditioning_scale, seed, sampler],
|
135 |
outputs=[result_image, share_group]
|
136 |
).then(
|
137 |
+
fn=fetch_gallery_history, inputs=[prompt, result_image], outputs=history, queue=False
|
138 |
)
|
139 |
share_button.click(None, [], [], _js=share_js)
|
140 |
app.queue(max_size=20)
|