Pj12 commited on
Commit
953ec73
·
verified ·
1 Parent(s): af3434e

Update extract_feature_print.py

Browse files
Files changed (1) hide show
  1. extract_feature_print.py +1 -1
extract_feature_print.py CHANGED
@@ -69,7 +69,7 @@ def readwave(wav_path, normalize=False):
69
  feats = feats.view(1, -1)
70
  return feats
71
 
72
- if os.path.split(model_path)[0] == "/kaggle/working/Mangio-RVC-Fork/Custom" == False:
73
  model_path = "/kaggle/working/Mangio-RVC-Fork/hubert_base.pt"
74
  Custom_Embed = True
75
  # HuBERT model
 
69
  feats = feats.view(1, -1)
70
  return feats
71
 
72
+ if os.path.split(model_path)[0] == "/kaggle/working/Mangio-RVC-Fork/Custom" == True:
73
  model_path = "/kaggle/working/Mangio-RVC-Fork/hubert_base.pt"
74
  Custom_Embed = True
75
  # HuBERT model