Kit-Lemonfoot
commited on
Commit
•
446d837
1
Parent(s):
6de3522
I hate this thing
Browse files
app.py
CHANGED
@@ -286,7 +286,7 @@ def load_voicedata():
|
|
286 |
speakerid = info['speakerid']
|
287 |
image = info['cover']
|
288 |
if not model_path in styledict.keys():
|
289 |
-
conf=f"model_assets
|
290 |
hps = utils.get_hparams_from_file(conf)
|
291 |
s2id = hps.data.style2id
|
292 |
styledict[model_path] = s2id.keys()
|
|
|
286 |
speakerid = info['speakerid']
|
287 |
image = info['cover']
|
288 |
if not model_path in styledict.keys():
|
289 |
+
conf=f"model_assets/{model_path}/config.json"
|
290 |
hps = utils.get_hparams_from_file(conf)
|
291 |
s2id = hps.data.style2id
|
292 |
styledict[model_path] = s2id.keys()
|