fffiloni commited on
Commit
58278cf
1 Parent(s): 3a3e71c

skip the queue for canvas creation

Browse files
gradio_scribble2image_interactive.py CHANGED
@@ -37,7 +37,8 @@ def create_demo(process, max_images=12):
37
  )
38
  create_button.click(fn=create_canvas,
39
  inputs=[canvas_width, canvas_height],
40
- outputs=[input_image])
 
41
  prompt = gr.Textbox(label='Prompt')
42
  run_button = gr.Button(label='Run')
43
  with gr.Accordion('Advanced options', open=False):
 
37
  )
38
  create_button.click(fn=create_canvas,
39
  inputs=[canvas_width, canvas_height],
40
+ outputs=[input_image],
41
+ queue=False)
42
  prompt = gr.Textbox(label='Prompt')
43
  run_button = gr.Button(label='Run')
44
  with gr.Accordion('Advanced options', open=False):