multimodalart HF staff commited on
Commit
62ee62a
1 Parent(s): 8d113c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -149,7 +149,7 @@ with gr.Blocks(css=css) as demo:
149
  ''')
150
  #css_height = gr.HTML("<style>#main-image{width: 512px} .fixed-height{height: 512px !important}</style>")
151
  aspect.change(None, inputs=[aspect], outputs=None, _js = set_canvas_size)
152
- button_run.click(process_sketch, inputs=[canvas_data, binary_matrixes], outputs=[post_sketch, binary_matrixes, *color_row, *colors], _js=get_js_colors)
153
  final_run_btn.click(process_generation, inputs=[model, binary_matrixes, boostrapping, aspect, steps, seed, general_prompt, negative_prompt, *prompts], outputs=out_image)
154
  demo.load(None, None, None, _js=load_js)
155
  demo.launch(debug=True)
 
149
  ''')
150
  #css_height = gr.HTML("<style>#main-image{width: 512px} .fixed-height{height: 512px !important}</style>")
151
  aspect.change(None, inputs=[aspect], outputs=None, _js = set_canvas_size)
152
+ button_run.click(process_sketch, inputs=[canvas_data, binary_matrixes], outputs=[post_sketch, binary_matrixes, *color_row, *colors], _js=get_js_colors, queue=False)
153
  final_run_btn.click(process_generation, inputs=[model, binary_matrixes, boostrapping, aspect, steps, seed, general_prompt, negative_prompt, *prompts], outputs=out_image)
154
  demo.load(None, None, None, _js=load_js)
155
  demo.launch(debug=True)