TAKESHI0\ogawa commited on
Commit
9be3a7f
·
1 Parent(s): 08e4fff
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -12,10 +12,14 @@ def get_dataset_pytorch_model(local_dir):
12
  hf_hub_download("kkvc-hf/Style-Bert-VITS2-Datasets", f"{local_dir}/pytorch_model.bin", local_dir=local_dir, repo_type="dataset")
13
 
14
  get_dataset_pytorch_model("bert/chinese-roberta-wwm-ext-large")
15
- get_dataset_pytorch_model("bert/deberta-v2-large-japanese-char-wwm")
16
  get_dataset_pytorch_model("bert/deberta-v3-large")
17
  get_dataset_pytorch_model("slm/wavlm-base-plus")
18
 
 
 
 
 
19
  local_dir = "pretrained"
20
  os.makedirs(local_dir, exist_ok=True)
21
  hf_hub_download("kkvc-hf/Style-Bert-VITS2-Datasets", f"{local_dir}/D_0.safetensors", local_dir=local_dir, repo_type="dataset")
 
12
  hf_hub_download("kkvc-hf/Style-Bert-VITS2-Datasets", f"{local_dir}/pytorch_model.bin", local_dir=local_dir, repo_type="dataset")
13
 
14
  get_dataset_pytorch_model("bert/chinese-roberta-wwm-ext-large")
15
+ #get_dataset_pytorch_model("bert/deberta-v2-large-japanese-char-wwm")
16
  get_dataset_pytorch_model("bert/deberta-v3-large")
17
  get_dataset_pytorch_model("slm/wavlm-base-plus")
18
 
19
+ local_dir = "bert/deberta-v2-large-japanese-char-wwm"
20
+ os.makedirs(local_dir, exist_ok=True)
21
+ hf_hub_download("kkvc-hf/Style-Bert-VITS2-bert_deberta-v2-large-japanese-char-wwm", "pytorch_model.bin", local_dir=local_dir, repo_type="dataset")
22
+
23
  local_dir = "pretrained"
24
  os.makedirs(local_dir, exist_ok=True)
25
  hf_hub_download("kkvc-hf/Style-Bert-VITS2-Datasets", f"{local_dir}/D_0.safetensors", local_dir=local_dir, repo_type="dataset")