Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def translate_en_to_ur(text):
|
|
| 24 |
iface = gr.Interface(
|
| 25 |
fn=translate_en_to_ur,
|
| 26 |
inputs=gr.Textbox(lines=2, placeholder="Enter English text here..."),
|
| 27 |
-
outputs="
|
| 28 |
title="English to Urdu Translator",
|
| 29 |
description="Hello, I am a newbie in Model Deployment. I was trying to design a language translator. I am using hugging face's Marian MT model "
|
| 30 |
)
|
|
|
|
| 24 |
iface = gr.Interface(
|
| 25 |
fn=translate_en_to_ur,
|
| 26 |
inputs=gr.Textbox(lines=2, placeholder="Enter English text here..."),
|
| 27 |
+
outputs="text",
|
| 28 |
title="English to Urdu Translator",
|
| 29 |
description="Hello, I am a newbie in Model Deployment. I was trying to design a language translator. I am using hugging face's Marian MT model "
|
| 30 |
)
|