Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -60,5 +60,5 @@ with gr.Blocks(css=css) as demo:
|
|
60 |
with gr.Column(scale=2):
|
61 |
text_output = gr.Textbox(label="Переведенный текст")
|
62 |
|
63 |
-
text_button.click(
|
64 |
demo.queue(concurrency_count=64, max_size=80, api_open=False).launch(max_threads=256)
|
|
|
60 |
with gr.Column(scale=2):
|
61 |
text_output = gr.Textbox(label="Переведенный текст")
|
62 |
|
63 |
+
text_button.click(Переводчик, inputs=[text, target_language], outputs=text_output)
|
64 |
demo.queue(concurrency_count=64, max_size=80, api_open=False).launch(max_threads=256)
|