mirror of https://github.com/coqui-ai/TTS.git
force utf8
This commit is contained in:
parent
32e8b56c45
commit
f06603a0db
|
@ -43,7 +43,7 @@ class ModelManager(object):
|
||||||
Args:
|
Args:
|
||||||
file_path (str): path to .models.json.
|
file_path (str): path to .models.json.
|
||||||
"""
|
"""
|
||||||
with open(file_path) as json_file:
|
with open(file_path, "r", encoding="utf-8") as json_file:
|
||||||
self.models_dict = json.load(json_file)
|
self.models_dict = json.load(json_file)
|
||||||
|
|
||||||
def list_langs(self):
|
def list_langs(self):
|
||||||
|
|
Loading…
Reference in New Issue