abinashbordoloi commited on
Commit
bb256b3
1 Parent(s): f89e277

Create ui.py

Browse files
Files changed (1) hide show
  1. ui.py +12 -0
ui.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ title = "NLLB-200 Traslation Demo"
2
+ description = """
3
+ <p>
4
+ <center>
5
+ Translator using <a href='https://ai.facebook.com/research/no-language-left-behind/' target='_blank'>Facebook's NLLB</a> models.
6
+ Codes Using <a href='https://github.com/facebookresearch/fairseq/tree/nllb' target=blank'>Facebook's fairseq NLLB</a>.
7
+ Demo is running on CPU.
8
+ </center>
9
+ </p>
10
+ """
11
+
12
+ examples = [["我非常喜欢这个地方", "zho_Hans", "yue_Hant", 512]]