Spaces:
Sleeping
Sleeping
waysolong
commited on
Commit
·
914dcc9
1
Parent(s):
f42d33e
fix bug
Browse files
model.py
CHANGED
@@ -30,8 +30,8 @@ def __build_vocoder(config):
|
|
30 |
return model
|
31 |
@lru_cache(maxsize=10)
|
32 |
def get_pretrained_model(line):
|
33 |
-
config = "
|
34 |
-
checkpoint = "
|
35 |
with open(config) as f:
|
36 |
config = yaml.safe_load(f)
|
37 |
|
|
|
30 |
return model
|
31 |
@lru_cache(maxsize=10)
|
32 |
def get_pretrained_model(line):
|
33 |
+
config = "examples/biaobei\config.yaml"
|
34 |
+
checkpoint = "checkpoints\checkpoint_140000.pth.tar"
|
35 |
with open(config) as f:
|
36 |
config = yaml.safe_load(f)
|
37 |
|