helloWorld199 commited on
Commit
cf25089
1 Parent(s): 4cc2e85

Update src/rvc.py

Browse files
Files changed (1) hide show
  1. src/rvc.py +1 -0
src/rvc.py CHANGED
@@ -130,6 +130,7 @@ def get_vc(device, is_half, config, model_path):
130
  raise ValueError(f'Incorrect format for {model_path}. Use a voice model trained using RVC v2 instead.')
131
 
132
  tgt_sr = cpt["config"][-1]
 
133
  cpt["config"][-3] = cpt["weight"]["emb_g.weight"].shape[0]
134
  if_f0 = cpt.get("f0", 1)
135
  version = cpt.get("version", "v1")
 
130
  raise ValueError(f'Incorrect format for {model_path}. Use a voice model trained using RVC v2 instead.')
131
 
132
  tgt_sr = cpt["config"][-1]
133
+ print(f"SAMPLE RATE MODEL {model_path} IS: {tgt_sr}")
134
  cpt["config"][-3] = cpt["weight"]["emb_g.weight"].shape[0]
135
  if_f0 = cpt.get("f0", 1)
136
  version = cpt.get("version", "v1")