Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -57,8 +57,8 @@ with gr.Blocks(css=css, title="Переводчик") as vui:
|
|
57 |
with gr.Column(scale=2):
|
58 |
vkl2_text_output = gr.Textbox(show_label=False)
|
59 |
|
60 |
-
vkl2_text_button.click(translate_interface, inputs=[text, lang], outputs=vkl2_text_output)
|
61 |
|
62 |
|
63 |
#end
|
64 |
-
vui.queue(api_open=False
|
|
|
57 |
with gr.Column(scale=2):
|
58 |
vkl2_text_output = gr.Textbox(show_label=False)
|
59 |
|
60 |
+
vkl2_text_button.click(translate_interface, inputs=[text, lang], outputs=vkl2_text_output, concurrency_limit=1024)
|
61 |
|
62 |
|
63 |
#end
|
64 |
+
vui.queue(api_open=False).launch()
|