mochifz commited on
Commit
75aa778
1 Parent(s): 627b7a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,4 +105,4 @@ with gr.Blocks() as demo:
105
  generate.click(Generate, [image_input, prompt, negative_prompt, strength, guidance_scale, num_inference_steps, width, height, seed], [image_output, text_output])
106
  loading.click(Loading, model, model)
107
  set_language.change(update_language, set_language, [model, loading, image_input, prompt, negative_prompt, generate, strength, guidance_scale, num_inference_steps, width, height, seed])
108
- demo.queue(concurrency_count=24, max_size=32).launch(max_threads=128)
 
105
  generate.click(Generate, [image_input, prompt, negative_prompt, strength, guidance_scale, num_inference_steps, width, height, seed], [image_output, text_output])
106
  loading.click(Loading, model, model)
107
  set_language.change(update_language, set_language, [model, loading, image_input, prompt, negative_prompt, generate, strength, guidance_scale, num_inference_steps, width, height, seed])
108
+ demo.queue().launch()