Spaces:
Runtime error
Runtime error
Commit
·
0bdc842
1
Parent(s):
f4c5c58
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.outputs.Textbox()
|
| 34 |
-
gr.Interface(small100_tr, inputs=[gr.inputs.Dropdown(lang_list, label=" Target Language"), '
|
| 35 |
description=description,
|
| 36 |
examples=examples
|
| 37 |
).launch()
|
|
|
|
| 31 |
examples = [["French (fr)", "Life is like a box of chocolates."]]
|
| 32 |
|
| 33 |
output_text = gr.outputs.Textbox()
|
| 34 |
+
gr.Interface(small100_tr, inputs=[gr.inputs.Dropdown(lang_list, label=" Target Language"), 'text'], outputs=output_text, title="SMaLL100: Translate Between 100 languages much faster",
|
| 35 |
description=description,
|
| 36 |
examples=examples
|
| 37 |
).launch()
|