Spaces:
Running
Running
alirezamsh
commited on
Commit
•
ce116f7
1
Parent(s):
b90c489
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def small100_tr(lang, text):
|
|
31 |
examples = [["French (fr)", "Life is like a box of chocolates."]]
|
32 |
|
33 |
output_text = gr.Textbox()
|
34 |
-
gr.Interface(small100_tr, inputs=[gr.
|
35 |
description=description,
|
36 |
examples=examples
|
37 |
).launch()
|
|
|
31 |
examples = [["French (fr)", "Life is like a box of chocolates."]]
|
32 |
|
33 |
output_text = gr.Textbox()
|
34 |
+
gr.Interface(small100_tr, inputs=[gr.Dropdown(lang_list, label=" Target Language"), 'text'], outputs=output_text, title="SMaLL100: Translate much faster between 100 languages",
|
35 |
description=description,
|
36 |
examples=examples
|
37 |
).launch()
|