mochifz commited on
Commit
7680831
1 Parent(s): 9196578

Update app.py

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