ulysses115 commited on
Commit
fd8a022
1 Parent(s): 26e77f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -118,10 +118,10 @@ if __name__ == '__main__':
118
  author = info["author"]
119
  lang = info["lang"]
120
  example = info["example"]
121
- config_path = f"saved_model/{i}/config.json"
122
- model_path = f"saved_model/{i}/model.pth"
123
  cover = info["cover"]
124
- cover_path = f"saved_model/{i}/{cover}" if cover else None
125
  hps = utils.get_hparams_from_file(config_path)
126
  model = SynthesizerTrn(
127
  len(hps.symbols),
 
118
  author = info["author"]
119
  lang = info["lang"]
120
  example = info["example"]
121
+ config_path = f"config.json"
122
+ model_path = f"G_1434000.pth"
123
  cover = info["cover"]
124
+ cover_path = cover
125
  hps = utils.get_hparams_from_file(config_path)
126
  model = SynthesizerTrn(
127
  len(hps.symbols),