Spaces:
Runtime error
Runtime error
Harveenchadha
commited on
Commit
•
1903514
1
Parent(s):
fcda83f
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ languages = list(INDIC.keys())
|
|
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=20, placeholder="Enter Text to translate", default="", label="Enter Text in Source Language")
|
29 |
-
txt_ouptut = grd.
|
30 |
|
31 |
example=[['I want to translate this sentence in Hindi','Hindi'],
|
32 |
['I am feeling very good today.', 'Bengali']]
|
|
|
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=20, placeholder="Enter Text to translate", default="", label="Enter Text in Source Language")
|
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'],
|
32 |
['I am feeling very good today.', 'Bengali']]
|