edaiofficial commited on
Commit
37d3de6
·
1 Parent(s): 5164cc9

adding other languages

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -7,10 +7,12 @@ from huggingface_hub import hf_hub_download
7
 
8
  language_map = {'English':'en','Swahili':'sw','Fon':'fon','Igbo':'ig',
9
  'Arabic':'ar','Shona':'sn','Ẹ̀dó':'bin','Hausa':'ha',
10
- 'Efik':'efi','Twi':'twi','Afrikaans':'af','Yoruba':'yo','Urhobo':'urh'}
11
-
 
 
12
  #List of available languages I worked on.
13
- available_language_pairs =['en-sw','en-af','en-ar','efi-en','en-bin','en-ha','en-ig','en-fon','en-twi','sn-en','sw-en','yo-en','en-urh']
14
  available_languages = list(language_map.keys())
15
 
16
  def load_config(path="configs/default.yaml") -> dict:
 
7
 
8
  language_map = {'English':'en','Swahili':'sw','Fon':'fon','Igbo':'ig',
9
  'Arabic':'ar','Shona':'sn','Ẹ̀dó':'bin','Hausa':'ha',
10
+ 'Efik':'efi','Twi':'twi','Afrikaans':'af','Yoruba':'yo','Urhobo':'urh','Dendi':'ddn','̀Ẹ̀sán':'ish','Isoko':'iso',
11
+ 'Kamba':'kam','Luo':'luo','Southern Ndebele':'nr','Tshivenda':'ve'}
12
+
13
+
14
  #List of available languages I worked on.
15
+ available_language_pairs =['en-sw','en-af','en-ar','en-ddn','en-ish','en-iso','en-kam','en-luo','en-nr','en-ve','efi-en','en-bin','en-ha','en-ig','en-fon','en-twi','sn-en','sw-en','yo-en','en-urh']
16
  available_languages = list(language_map.keys())
17
 
18
  def load_config(path="configs/default.yaml") -> dict: