Spaces:
Running
Running
ORI-Muchim
commited on
Commit
•
ef62c85
1
Parent(s):
e303f44
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ if __name__ == '__main__':
|
|
106 |
posterior_channels,
|
107 |
hps.train.segment_size // hps.data.hop_length,
|
108 |
n_speakers=hps.data.n_speakers, #- >0 for multi speaker
|
109 |
-
**hps.model
|
110 |
utils.load_checkpoint(model_path, model, None)
|
111 |
model.eval()
|
112 |
speaker_ids = [sid for sid, name in enumerate(hps.speakers) if name != "None"]
|
|
|
106 |
posterior_channels,
|
107 |
hps.train.segment_size // hps.data.hop_length,
|
108 |
n_speakers=hps.data.n_speakers, #- >0 for multi speaker
|
109 |
+
**hps.model)
|
110 |
utils.load_checkpoint(model_path, model, None)
|
111 |
model.eval()
|
112 |
speaker_ids = [sid for sid, name in enumerate(hps.speakers) if name != "None"]
|