kevinwang676 commited on
Commit
8a68b37
1 Parent(s): 25aeba6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ for model_name in config_json.get('models'):
92
  net_g.eval().to(device)
93
  net_g = net_g.half() if util.is_half(device) else net_g.float()
94
 
95
- vc = VC(tgt_sr, device, util.is_half(device))
96
 
97
  loaded_models.append(dict(
98
  name=model_name,
 
92
  net_g.eval().to(device)
93
  net_g = net_g.half() if util.is_half(device) else net_g.float()
94
 
95
+ vc = VC(tgt_sr, config)
96
 
97
  loaded_models.append(dict(
98
  name=model_name,