Update lib/infer.py
Browse files- 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',
|
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)
|