Spaces:
Runtime error
Runtime error
Harveenchadha
commited on
Commit
•
fcda83f
1
Parent(s):
fc2a883
Update app.py
Browse files
app.py
CHANGED
@@ -31,5 +31,5 @@ txt_ouptut = grd.inputs.Textbox( lines=20, placeholder="", default="", label="Tr
|
|
31 |
example=[['I want to translate this sentence in Hindi','Hindi'],
|
32 |
['I am feeling very good today.', 'Bengali']]
|
33 |
|
34 |
-
iface = grd.Interface(fn=translate, inputs=[txt,ddwn] , outputs=
|
35 |
iface.launch(enable_queue=True)
|
|
|
31 |
example=[['I want to translate this sentence in Hindi','Hindi'],
|
32 |
['I am feeling very good today.', 'Bengali']]
|
33 |
|
34 |
+
iface = grd.Interface(fn=translate, inputs=[txt,ddwn] , outputs=txt_ouptut, title='Translation for Indic Languages', description = 'This is a demo based on IndicTrans.', article = 'Original repo [link](https://github.com/AI4Bharat/indicTrans) by AI4Bharat. <b>Note: This space can only perform translation from English to Indic languages. Support for other combinations will be provided soon.', examples=example)
|
35 |
iface.launch(enable_queue=True)
|