aaqibkhan039 commited on
Commit
da01144
·
verified ·
1 Parent(s): 181254b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,8 +17,8 @@ def translate(text):
17
  # Create the Gradio interface
18
  iface = gr.Interface(
19
  fn=translate,
20
- inputs=gr.Textbox(lines=5, placeholder="Enter English text here..."),
21
- outputs=gr.Textbox(label="Translated Urdu Text"),
22
  title="English to Urdu Translator",
23
  description="Enter text in English and get the Urdu translation instantly."
24
  )
 
17
  # Create the Gradio interface
18
  iface = gr.Interface(
19
  fn=translate,
20
+ inputs=gr.Textbox(lines=5, placeholder="Enter your (English) text here..."),
21
+ outputs=gr.Textbox(label="Translation (Urdu)"),
22
  title="English to Urdu Translator",
23
  description="Enter text in English and get the Urdu translation instantly."
24
  )