Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,13 +7,13 @@ import librosa # pip install librosa
|
|
7 |
|
8 |
# --- EDIT THIS: map display names to your HF Hub model IDs ---
|
9 |
language_models = {
|
10 |
-
"Akan (
|
11 |
"Ewe": "FarmerlineML/w2v-bert-2.0_ewe_2",
|
12 |
"Kiswahili": "FarmerlineML/w2v-bert-2.0_swahili_alpha",
|
13 |
"Luganda": "FarmerlineML/w2v-bert-2.0_luganda",
|
14 |
"Brazilian Portuguese": "FarmerlineML/w2v-bert-2.0_brazilian_portugese_alpha",
|
15 |
-
"Fante
|
16 |
-
"Runyankore
|
17 |
# add more as needed
|
18 |
}
|
19 |
|
|
|
7 |
|
8 |
# --- EDIT THIS: map display names to your HF Hub model IDs ---
|
9 |
language_models = {
|
10 |
+
"Akan (Asante Twi)": "FarmerlineML/w2v-bert-2.0_twi_alpha_v1",
|
11 |
"Ewe": "FarmerlineML/w2v-bert-2.0_ewe_2",
|
12 |
"Kiswahili": "FarmerlineML/w2v-bert-2.0_swahili_alpha",
|
13 |
"Luganda": "FarmerlineML/w2v-bert-2.0_luganda",
|
14 |
"Brazilian Portuguese": "FarmerlineML/w2v-bert-2.0_brazilian_portugese_alpha",
|
15 |
+
"Akan (Fante)": "misterkissi/w2v2-lg-xls-r-300m-fante",
|
16 |
+
"Runyankore": "misterkissi/w2v2-lg-xls-r-300m-runyankore",
|
17 |
# add more as needed
|
18 |
}
|
19 |
|