Spaces:
Running
Running
Commit
•
566af11
1
Parent(s):
39be6e9
Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ if __name__ == '__main__':
|
|
88 |
hps.train.segment_size // hps.data.hop_length,
|
89 |
n_speakers=hps.data.n_speakers,
|
90 |
**hps.model)
|
91 |
-
utils.load_checkpoint(model_path,
|
92 |
model.eval()
|
93 |
speaker_ids = [0]
|
94 |
speakers = [name]
|
|
|
88 |
hps.train.segment_size // hps.data.hop_length,
|
89 |
n_speakers=hps.data.n_speakers,
|
90 |
**hps.model)
|
91 |
+
utils.load_checkpoint(model_path, model, None)
|
92 |
model.eval()
|
93 |
speaker_ids = [0]
|
94 |
speakers = [name]
|