Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,14 +46,13 @@ if __name__ == '__main__':
|
|
46 |
['fra_Latn', 'fuv_Latn', 'La traduction est une tâche facile.']
|
47 |
]
|
48 |
|
49 |
-
gr.Interface(translation,
|
50 |
-
inputs,
|
51 |
-
outputs,
|
52 |
-
title=title,
|
53 |
-
description=description,
|
54 |
-
examples=examples,
|
55 |
-
examples_per_page=50,
|
56 |
-
).launch()
|
57 |
-
|
58 |
-
|
59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
['fra_Latn', 'fuv_Latn', 'La traduction est une tâche facile.']
|
47 |
]
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
+
gr.Interface(
|
51 |
+
translation,
|
52 |
+
inputs,
|
53 |
+
["text"],
|
54 |
+
examples=examples,
|
55 |
+
cache_examples=False,
|
56 |
+
title=title,
|
57 |
+
description=description
|
58 |
+
).launch()
|