Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ net_g = SynthesizerTrn(
|
|
30 |
hps.data.filter_length // 2 + 1,
|
31 |
hps.train.segment_size // hps.data.hop_length,
|
32 |
n_speakers=hps.data.n_speakers,
|
33 |
-
**hps.model)
|
34 |
_ = net_g.eval()
|
35 |
|
36 |
_ = utils.load_checkpoint("pretrained_models/G_1153000.pth", net_g, None)
|
|
|
30 |
hps.data.filter_length // 2 + 1,
|
31 |
hps.train.segment_size // hps.data.hop_length,
|
32 |
n_speakers=hps.data.n_speakers,
|
33 |
+
**hps.model).half()
|
34 |
_ = net_g.eval()
|
35 |
|
36 |
_ = utils.load_checkpoint("pretrained_models/G_1153000.pth", net_g, None)
|