cocktailpeanut commited on
Commit
f499b43
Β·
1 Parent(s): 62d2234
Files changed (1) hide show
  1. diffrhythm/g2p/utils/g2p.py +1 -1
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