Mahiruoshi commited on
Commit
34369ea
1 Parent(s): 67c5ffe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -350,7 +350,7 @@ if __name__ == "__main__":
350
  for dirpath, dirnames, filenames in os.walk('Data/BangDream/models/'):
351
  for filename in filenames:
352
  modelPaths.append(os.path.join(dirpath, filename))
353
- hps = utils.get_hparams_from_file('Data/Chinese/configs/config.json')
354
  net_g = get_net_g(
355
  model_path="Data/Chinese/models/G_80000.pth", device=device, hps=hps
356
  )
 
350
  for dirpath, dirnames, filenames in os.walk('Data/BangDream/models/'):
351
  for filename in filenames:
352
  modelPaths.append(os.path.join(dirpath, filename))
353
+ hps = utils.get_hparams_from_file('Data/Chinese/config.json')
354
  net_g = get_net_g(
355
  model_path="Data/Chinese/models/G_80000.pth", device=device, hps=hps
356
  )