nijisakai commited on
Commit
004a828
1 Parent(s): a6dff99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -72,8 +72,8 @@ for repo_id in repo_ids:
72
  speakers = list(hparams.spk.keys())
73
  speakers.extend(speakers)
74
  device = "cuda" if torch.cuda.is_available() else "cpu"
75
- models = Svc(net_g_path=generator_path, config_path=config_path, device=device, cluster_model_path=cluster_model_path)
76
- models.append(models)
77
 
78
  # Reset ckpt_name and cluster_model_name for the next iteration
79
  ckpt_name = None
 
72
  speakers = list(hparams.spk.keys())
73
  speakers.extend(speakers)
74
  device = "cuda" if torch.cuda.is_available() else "cpu"
75
+ model = Svc(net_g_path=generator_path, config_path=config_path, device=device, cluster_model_path=cluster_model_path)
76
+ models.append(model)
77
 
78
  # Reset ckpt_name and cluster_model_name for the next iteration
79
  ckpt_name = None