Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ net_g = SynthesizerTrn(
|
|
34 |
**hps.model)
|
35 |
_ = net_g.eval()
|
36 |
|
37 |
-
_ = utils.load_checkpoint("pretrained_models/
|
38 |
|
39 |
def infer(text, character, language, duration, noise_scale, noise_scale_w):
|
40 |
show_memory_info("infer调用前")
|
|
|
34 |
**hps.model)
|
35 |
_ = net_g.eval()
|
36 |
|
37 |
+
_ = utils.load_checkpoint("pretrained_models/G_1153000.pth", net_g, None)
|
38 |
|
39 |
def infer(text, character, language, duration, noise_scale, noise_scale_w):
|
40 |
show_memory_info("infer调用前")
|