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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def translate(text):
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."
 
17
  # Create the Gradio interface
18
  iface = gr.Interface(
19
  fn=translate,
20
+ inputs=gr.Textbox(lines=1, 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."