Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,5 @@ def translate(text):
|
|
14 |
response = model_tkn.decode(trans_output[0], skip_special_tokens=True)
|
15 |
#response = opus_translator(text)
|
16 |
return response
|
17 |
-
|
18 |
-
|
19 |
-
grad.Interface(translate, inputs=txt, outputs=txt_out, theme="dark").launch()
|
|
|
14 |
response = model_tkn.decode(trans_output[0], skip_special_tokens=True)
|
15 |
#response = opus_translator(text)
|
16 |
return response
|
17 |
+
|
18 |
+
grad.Interface(translate, inputs="text", outputs="text").launch()
|
|