ak3ra commited on
Commit
d8b3564
1 Parent(s): cafd7ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- iso_codes = json.load(file)
9
 
10
- languages = list(iso_codes.keys())
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)