Spaces:
Running
Running
TAKESHI0\ogawa
commited on
Commit
·
08e4fff
1
Parent(s):
c41425f
up
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from typing import Optional
|
|
9 |
from huggingface_hub import hf_hub_download
|
10 |
def get_dataset_pytorch_model(local_dir):
|
11 |
os.makedirs(local_dir, exist_ok=True)
|
12 |
-
hf_hub_download("kkvc-hf/Style-Bert-VITS2-Datasets", f"{local_dir}/pytorch_model.bin", local_dir=local_dir, repo_type="")
|
13 |
|
14 |
get_dataset_pytorch_model("bert/chinese-roberta-wwm-ext-large")
|
15 |
get_dataset_pytorch_model("bert/deberta-v2-large-japanese-char-wwm")
|
|
|
9 |
from huggingface_hub import hf_hub_download
|
10 |
def get_dataset_pytorch_model(local_dir):
|
11 |
os.makedirs(local_dir, exist_ok=True)
|
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")
|