Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ gradio_ui= gr.Interface(
|
|
57 |
gr.components.Textbox(label="Text"),
|
58 |
gr.components.Dropdown(label="Source Language", choices=LANGS),
|
59 |
gr.components.Dropdown(label="Target Language", choices=LANGS),
|
60 |
-
|
61 |
],
|
62 |
outputs=gr.outputs.Textbox(label="Translated text")
|
63 |
)
|
|
|
57 |
gr.components.Textbox(label="Text"),
|
58 |
gr.components.Dropdown(label="Source Language", choices=LANGS),
|
59 |
gr.components.Dropdown(label="Target Language", choices=LANGS),
|
60 |
+
# gr.components.Slider(8, 400, value=400, step=8, label="Max Length")
|
61 |
],
|
62 |
outputs=gr.outputs.Textbox(label="Translated text")
|
63 |
)
|