megaaziib commited on
Commit
d60488e
1 Parent(s): 8b86695

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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():