Eempostor commited on
Commit
b137964
·
verified ·
1 Parent(s): e195c26

Update lib/infer.py

Browse files
Files changed (1) hide show
  1. lib/infer.py +1 -1
lib/infer.py CHANGED
@@ -127,7 +127,7 @@ def infer_audio(
127
  ):
128
  os.environ["rmvpe_model_path"] = rmvpe_model_path
129
  os.environ["fcpe_model_path"] = fcpe_model_path
130
- configs = Configs('cuda:0', False)
131
  vc = VC(configs)
132
  pth_path, index_path = get_model(model_name)
133
  vc_data = vc.get_vc(pth_path, protect, 0.5)
 
127
  ):
128
  os.environ["rmvpe_model_path"] = rmvpe_model_path
129
  os.environ["fcpe_model_path"] = fcpe_model_path
130
+ configs = Configs('cuda:0', True)
131
  vc = VC(configs)
132
  pth_path, index_path = get_model(model_name)
133
  vc_data = vc.get_vc(pth_path, protect, 0.5)