Spaces:
Runtime error
Runtime error
Commit
Β·
f499b43
1
Parent(s):
62d2234
update
Browse files
diffrhythm/g2p/utils/g2p.py
CHANGED
@@ -60,7 +60,7 @@ lang2backend = {
|
|
60 |
"de": phonemizer_de,
|
61 |
}
|
62 |
|
63 |
-
with open("./diffrhythm/g2p/utils/mls_en.json", "r") as f:
|
64 |
json_data = f.read()
|
65 |
token = json.loads(json_data)
|
66 |
|
|
|
60 |
"de": phonemizer_de,
|
61 |
}
|
62 |
|
63 |
+
with open("./diffrhythm/g2p/utils/mls_en.json", "r", encoding="utf-8") as f:
|
64 |
json_data = f.read()
|
65 |
token = json.loads(json_data)
|
66 |
|