Spaces:
Sleeping
Sleeping
Dmytro Vodianytskyi
commited on
Commit
·
5ab728f
1
Parent(s):
da4d792
space updated
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ with gr.Blocks() as interface:
|
|
36 |
with gr.Row():
|
37 |
input_text = gr.Textbox(label="Text input", placeholder="Enter your text here")
|
38 |
with gr.Column():
|
39 |
-
translation_way = gr.Dropdown(label="Mode", choices=[
|
40 |
translate_button = gr.Button("Translate")
|
41 |
output_text = gr.Textbox(label="Translated text")
|
42 |
with gr.Accordion("How to run the model locally:", open=False):
|
|
|
36 |
with gr.Row():
|
37 |
input_text = gr.Textbox(label="Text input", placeholder="Enter your text here")
|
38 |
with gr.Column():
|
39 |
+
translation_way = gr.Dropdown(label="Mode", choices=['en-lt', 'lt-en'])
|
40 |
translate_button = gr.Button("Translate")
|
41 |
output_text = gr.Textbox(label="Translated text")
|
42 |
with gr.Accordion("How to run the model locally:", open=False):
|