nisheeth commited on
Commit
d4e7275
·
verified ·
1 Parent(s): 386f5b5

Upload 9 files

Browse files
Files changed (4) hide show
  1. README.md +4 -4
  2. langs.py +5 -32
  3. langs_all.py +35 -0
  4. ui.py +2 -2
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
- title: Machine Translation Demo
3
- emoji: 🐨
4
  colorFrom: indigo
5
- colorTo: indigo
6
  sdk: gradio
7
  sdk_version: 3.18.0
8
  app_file: app.py
@@ -10,4 +10,4 @@ pinned: false
10
  license: mit
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: NLLB200 Translate Distill 600
3
+ emoji: 🐢
4
  colorFrom: indigo
5
+ colorTo: yellow
6
  sdk: gradio
7
  sdk_version: 3.18.0
8
  app_file: app.py
 
10
  license: mit
11
  ---
12
 
13
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
langs.py CHANGED
@@ -1,35 +1,8 @@
1
  LANGS = [
2
- "ace_Arab",
3
- "asm_Beng",
4
- "awa_Deva",
5
- "ben_Beng",
6
- "bho_Deva",
7
  "bod_Tibt",
8
- "dzo_Tibt",
9
- "eng_Latn",
10
- "pes_Arab",
11
- "fij_Latn",
12
- "guj_Gujr",
13
- "hin_Deva",
14
- "hne_Deva",
15
- "kan_Knda",
16
- "kas_Arab",
17
- "kas_Deva",
18
- "mag_Deva",
19
- "mai_Deva",
20
- "mal_Mlym",
21
- "mar_Deva",
22
- "mni_Beng",
23
- "mya_Mymr",
24
- "npi_Deva",
25
- "ory_Orya",
26
- "pan_Guru",
27
- "san_Deva",
28
- "sat_Beng",
29
- "sin_Sinh",
30
- "snd_Arab",
31
- "tam_Taml",
32
- "tel_Telu",
33
- "urd_Arab",
34
- "vie_Latn"
35
  ]
 
1
  LANGS = [
 
 
 
 
 
2
  "bod_Tibt",
3
+ "khk_Cyrl",
4
+ "uig_Arab",
5
+ "yue_Hant",
6
+ "zho_Hans",
7
+ "zho_Hant"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  ]
langs_all.py ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ LANGS = [
2
+ "ace_Arab",
3
+ "asm_Beng",
4
+ "awa_Deva",
5
+ "ben_Beng",
6
+ "bho_Deva",
7
+ "bod_Tibt",
8
+ "dzo_Tibt",
9
+ "eng_Latn",
10
+ "pes_Arab",
11
+ "fij_Latn",
12
+ "guj_Gujr",
13
+ "hin_Deva",
14
+ "hne_Deva",
15
+ "kan_Knda",
16
+ "kas_Arab",
17
+ "kas_Deva",
18
+ "mag_Deva",
19
+ "mai_Deva",
20
+ "mal_Mlym",
21
+ "mar_Deva",
22
+ "mni_Beng",
23
+ "mya_Mymr",
24
+ "npi_Deva",
25
+ "ory_Orya",
26
+ "pan_Guru",
27
+ "san_Deva",
28
+ "sat_Beng",
29
+ "sin_Sinh",
30
+ "snd_Arab",
31
+ "tam_Taml",
32
+ "tel_Telu",
33
+ "urd_Arab",
34
+ "vie_Latn"
35
+ ]
ui.py CHANGED
@@ -1,4 +1,4 @@
1
- title = "Machine Traslation Demo"
2
  description = """
3
  <p>
4
  <center>
@@ -9,4 +9,4 @@ Demo is running on CPU.
9
  </p>
10
  """
11
 
12
- examples = [["Hello, How are you", "eng_Latn", "hin_Deva", 512]]
 
1
+ title = "NLLB-200 Traslation Demo"
2
  description = """
3
  <p>
4
  <center>
 
9
  </p>
10
  """
11
 
12
+ examples = [["我非常喜欢这个地方", "zho_Hans", "yue_Hant", 512]]