ORI-Muchim commited on
Commit
566af11
1 Parent(s): 39be6e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, net_g, None)
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]