Update app.py
Browse files
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=
|
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."
|