Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -107,6 +107,7 @@ if __name__ == '__main__':
|
|
107 |
load_hubert()
|
108 |
models = []
|
109 |
tts_voice_list = asyncio.get_event_loop().run_until_complete(edge_tts.list_voices())
|
|
|
110 |
with open("weights/model_info.json", "r", encoding="utf-8") as f:
|
111 |
models_info = json.load(f)
|
112 |
for name, info in models_info.items():
|
|
|
107 |
load_hubert()
|
108 |
models = []
|
109 |
tts_voice_list = asyncio.get_event_loop().run_until_complete(edge_tts.list_voices())
|
110 |
+
voices = await VoicesManager.create()
|
111 |
with open("weights/model_info.json", "r", encoding="utf-8") as f:
|
112 |
models_info = json.load(f)
|
113 |
for name, info in models_info.items():
|