Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Commit
•
0be75d5
1
Parent(s):
efa396b
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ freevc_24 = SynthesizerTrn(
|
|
84 |
hps.train.segment_size // hps.data.hop_length,
|
85 |
**hps.model).to(device)
|
86 |
_ = freevc_24.eval()
|
87 |
-
_ = utils.load_checkpoint("
|
88 |
|
89 |
print("Loading WavLM for content...")
|
90 |
cmodel = WavLMModel.from_pretrained("microsoft/wavlm-large").to(device)
|
|
|
84 |
hps.train.segment_size // hps.data.hop_length,
|
85 |
**hps.model).to(device)
|
86 |
_ = freevc_24.eval()
|
87 |
+
_ = utils.load_checkpoint("checkpoint/freevc-24.pth", freevc_24, None)
|
88 |
|
89 |
print("Loading WavLM for content...")
|
90 |
cmodel = WavLMModel.from_pretrained("microsoft/wavlm-large").to(device)
|