Rooni commited on
Commit
2503b40
·
verified ·
1 Parent(s): 0baa19a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,6 +79,6 @@ with gr.Blocks(css=css) as demo:
79
  with gr.Column():
80
  text_output = gr.Textbox(show_label=False, value="Здесь будет ваше поздравление.", container=True)
81
 
82
- text_button.click(generate, inputs=[whomtb, fromtb, whattb, doptb], outputs=[text_output])
83
 
84
  demo.queue(max_size=250, api_open=False).launch()
 
79
  with gr.Column():
80
  text_output = gr.Textbox(show_label=False, value="Здесь будет ваше поздравление.", container=True)
81
 
82
+ text_button.click(generate, inputs=[whomtb, fromtb, whattb, doptb], outputs=[text_output], concurrency_limit=250)
83
 
84
  demo.queue(max_size=250, api_open=False).launch()