superbsaeed commited on
Commit
85796ab
·
verified ·
1 Parent(s): 1463b49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="Enter Your 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
  )
 
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
  )