Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,10 +4,10 @@ import torch
|
|
4 |
import librosa
|
5 |
import json
|
6 |
|
7 |
-
with open('ISO_codes.json', 'r') as file:
|
8 |
-
|
9 |
|
10 |
-
languages =
|
11 |
|
12 |
model_id = "Sunbird/sunbird-mms"
|
13 |
processor = AutoProcessor.from_pretrained(model_id)
|
|
|
4 |
import librosa
|
5 |
import json
|
6 |
|
7 |
+
# with open('ISO_codes.json', 'r') as file:
|
8 |
+
# iso_codes = json.load(file)
|
9 |
|
10 |
+
languages = ["lug", "ach", "nyn", "teo"]
|
11 |
|
12 |
model_id = "Sunbird/sunbird-mms"
|
13 |
processor = AutoProcessor.from_pretrained(model_id)
|