Spaces:
Runtime error
Runtime error
Harveenchadha
commited on
Commit
•
50f28bf
1
Parent(s):
a22ee13
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ languages = list(INDIC.keys())
|
|
25 |
|
26 |
#print(translate('helo how are you'))
|
27 |
ddwn = grd.inputs.Dropdown(languages, type="value", default="Hindi", label="Select Target Language")
|
28 |
-
txt = grd.inputs.Textbox( lines=
|
29 |
txt_ouptut = grd.outputs.Textbox(type="auto", label="Translated text in Target Language")
|
30 |
|
31 |
example=[['I want to translate this sentence in Hindi','Hindi'],
|
|
|
25 |
|
26 |
#print(translate('helo how are you'))
|
27 |
ddwn = grd.inputs.Dropdown(languages, type="value", default="Hindi", label="Select Target Language")
|
28 |
+
txt = grd.inputs.Textbox( lines=5, placeholder="Enter Text to translate", default="", label="Enter Text in English")
|
29 |
txt_ouptut = grd.outputs.Textbox(type="auto", label="Translated text in Target Language")
|
30 |
|
31 |
example=[['I want to translate this sentence in Hindi','Hindi'],
|