xJuuzouYTx commited on
Commit
aeaba46
1 Parent(s): 20d05ae

[ADD] auto download rmvpe.pt

Browse files
Files changed (1) hide show
  1. inference.py +5 -0
inference.py CHANGED
@@ -49,6 +49,11 @@ class Inference:
49
  if not os.path.exists("./hubert_base.pt"):
50
  wget.download(
51
  "https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt", out="./hubert_base.pt")
 
 
 
 
 
52
 
53
  @property
54
  def id(self):
 
49
  if not os.path.exists("./hubert_base.pt"):
50
  wget.download(
51
  "https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt", out="./hubert_base.pt")
52
+
53
+ if not os.path.exists("./rmvpe.pt"):
54
+ wget.download(
55
+ "https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/rmvpe.pt", out="./rmvpe.pt"
56
+ )
57
 
58
  @property
59
  def id(self):