Spaces:
Sleeping
Sleeping
remove cpt debug print
Browse files- src/rvc.py +0 -1
src/rvc.py
CHANGED
|
@@ -126,7 +126,6 @@ def load_hubert(device, is_half, model_path):
|
|
| 126 |
|
| 127 |
def get_vc(device, is_half, config, model_path):
|
| 128 |
cpt = torch.load(model_path, map_location='cpu')
|
| 129 |
-
print("DEBUG PRINT:", cpt)
|
| 130 |
if "config" not in cpt or "weight" not in cpt:
|
| 131 |
raise ValueError(f'Incorrect format for {model_path}. Use a voice model trained using RVC v2 instead.')
|
| 132 |
|
|
|
|
| 126 |
|
| 127 |
def get_vc(device, is_half, config, model_path):
|
| 128 |
cpt = torch.load(model_path, map_location='cpu')
|
|
|
|
| 129 |
if "config" not in cpt or "weight" not in cpt:
|
| 130 |
raise ValueError(f'Incorrect format for {model_path}. Use a voice model trained using RVC v2 instead.')
|
| 131 |
|