Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ def small100_tr(lang, text):
|
|
| 30 |
|
| 31 |
examples = [["French (fr)", "Life is like a box of chocolates."]]
|
| 32 |
|
| 33 |
-
output_text = gr.
|
| 34 |
gr.Interface(small100_tr, inputs=[gr.inputs.Dropdown(lang_list, label=" Target Language"), 'text'], outputs=output_text, title="SMaLL100: Translate much faster between 100 languages",
|
| 35 |
description=description,
|
| 36 |
examples=examples
|
|
|
|
| 30 |
|
| 31 |
examples = [["French (fr)", "Life is like a box of chocolates."]]
|
| 32 |
|
| 33 |
+
output_text = gr.Textbox()
|
| 34 |
gr.Interface(small100_tr, inputs=[gr.inputs.Dropdown(lang_list, label=" Target Language"), 'text'], outputs=output_text, title="SMaLL100: Translate much faster between 100 languages",
|
| 35 |
description=description,
|
| 36 |
examples=examples
|