Spaces:
Sleeping
Sleeping
boli-ai-admin
commited on
Commit
•
7ec0c9c
1
Parent(s):
591574d
Update app.py
Browse files
app.py
CHANGED
@@ -46,5 +46,9 @@ example=[['I want to translate this sentence in Hindi','English','Hindi'],
|
|
46 |
['I am feeling very good today.', 'English','Bengali']]
|
47 |
|
48 |
supp = ', '.join(languages)
|
49 |
-
iface = grd.Interface(fn=translate, inputs=[txt,iddwn, oddwn] ,
|
|
|
|
|
|
|
|
|
50 |
iface.launch(enable_queue=True)
|
|
|
46 |
['I am feeling very good today.', 'English','Bengali']]
|
47 |
|
48 |
supp = ', '.join(languages)
|
49 |
+
iface = grd.Interface(fn=translate, inputs=[txt,iddwn, oddwn] ,
|
50 |
+
outputs=txt_ouptut, title='Translation for 15 Indic Languages', css="footer {visibility: hidden}",
|
51 |
+
description = 'This is a demo based on NLLB by Meta. Supported: '+supp,
|
52 |
+
article = 'Original repo [link](https://github.com/facebookresearch/fairseq/tree/nllb) by MetaAI. Contact @harveenchadha at Twitter for any issues.',
|
53 |
+
examples=example)
|
54 |
iface.launch(enable_queue=True)
|