Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,8 @@ import torch
|
|
4 |
import librosa
|
5 |
import json
|
6 |
|
|
|
|
|
7 |
|
8 |
languages = list(iso_codes.keys())
|
9 |
|
|
|
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 |
|