Spaces:
Sleeping
Sleeping
Fouzi Takelait
commited on
Commit
•
e1e147f
1
Parent(s):
5476c3d
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def translator_fn_roberta(text_in):
|
|
52 |
|
53 |
iface = gr.Interface(fn=[translator_fn_baseline, translator_fn_roberta],
|
54 |
inputs=gr.inputs.Textbox(lines=2, placeholder=None, label="Your Danish text goes here."),
|
55 |
-
outputs=['text'
|
56 |
description = "This App translates text from Danish to the English language.",
|
57 |
title = "Danish to English Translator App",
|
58 |
theme = "peach")
|
|
|
52 |
|
53 |
iface = gr.Interface(fn=[translator_fn_baseline, translator_fn_roberta],
|
54 |
inputs=gr.inputs.Textbox(lines=2, placeholder=None, label="Your Danish text goes here."),
|
55 |
+
outputs=['text'], # a list should match the number of values returned by fn to have one input and 2 putputs.
|
56 |
description = "This App translates text from Danish to the English language.",
|
57 |
title = "Danish to English Translator App",
|
58 |
theme = "peach")
|