Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -16,10 +16,11 @@ with gr.Blocks(title='Translation') as app:
|
|
16 |
with gr.Row():
|
17 |
inp_text = gr.Textbox(label='Input Text', lines=3)
|
18 |
with gr.Row():
|
19 |
-
output = gr.Textbox(label='
|
20 |
with gr.Row():
|
21 |
translate_btn = gr.Button("Translate")
|
22 |
|
23 |
translate_btn.click(fn=translation, inputs=inp_text, outputs=output)
|
24 |
|
25 |
-
|
|
|
|
16 |
with gr.Row():
|
17 |
inp_text = gr.Textbox(label='Input Text', lines=3)
|
18 |
with gr.Row():
|
19 |
+
output = gr.Textbox(label='Output', lines=3)
|
20 |
with gr.Row():
|
21 |
translate_btn = gr.Button("Translate")
|
22 |
|
23 |
translate_btn.click(fn=translation, inputs=inp_text, outputs=output)
|
24 |
|
25 |
+
# Use queue=True instead of enable_queue=True
|
26 |
+
app.launch(queue=True)
|