Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,5 +5,4 @@ opus_translator = pipeline("translation", model=mdl_name)
|
|
5 |
def translate(text):
|
6 |
response = opus_translator(text)
|
7 |
return response
|
8 |
-
grad.Interface(translate, inputs=["text",], outputs="text")
|
9 |
-
launch()
|
|
|
5 |
def translate(text):
|
6 |
response = opus_translator(text)
|
7 |
return response
|
8 |
+
grad.Interface(translate, inputs=["text",], outputs="text").launch()
|
|