Spaces:
Sleeping
Sleeping
helloWorld199
commited on
Commit
•
32785ac
1
Parent(s):
ba6c1db
debug print
Browse files- src/rvc.py +1 -0
src/rvc.py
CHANGED
@@ -126,6 +126,7 @@ 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 |
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 |
|
|
|
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 |
|