multimodalart HF staff Wauplin HF staff commited on
Commit
4783dcc
1 Parent(s): dc7aed1

Deactivate queue for user history retrieval (#13)

Browse files

- Deactivate queue for user history retrieval (ea633c93650d5f6d783a6a858756e3499baa9cb8)


Co-authored-by: Lucain Pouget <Wauplin@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
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)