RikkaBotan commited on
Commit
2632c14
·
verified ·
1 Parent(s): 794dc36

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -0
README.md CHANGED
@@ -93,6 +93,27 @@ If you write that you are using this model, I will be glad!
93
 
94
  ①Style-Bert-VITS2 インストール先の Style-Bert-VITS2/model_assets/rikka_botan/ フォルダに config.json, safetensors, style_vectors.npy の 3ファイルを置きます。
95
  Put 3 files on Style-Bert-VITS2/model_assets/rikka_botan/ folder
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  ②以下のプログラムを実行します execute this program
97
 
98
  ```python
 
93
 
94
  ①Style-Bert-VITS2 インストール先の Style-Bert-VITS2/model_assets/rikka_botan/ フォルダに config.json, safetensors, style_vectors.npy の 3ファイルを置きます。
95
  Put 3 files on Style-Bert-VITS2/model_assets/rikka_botan/ folder
96
+
97
+ 以下のプログラムで自動的に保存できます。By using this program, we can save files.
98
+ ```python
99
+ from google.colab import drive
100
+ drive.mount("/content/drive")
101
+ %cd /content/drive/MyDrive/
102
+ !mkdir Style-Bert-VITS2/
103
+ %cd Style-Bert-VITS2/
104
+ !mkdir model_assets/
105
+ %cd model_assets/
106
+ !mkdir rikka_botan/
107
+ from huggingface_hub import snapshot_download
108
+
109
+ model_name = "RikkaBotan/style_bert_vits2_jp_extra_cool_original"
110
+ download_path = snapshot_download(
111
+ repo_id=model_name,
112
+ local_dir = f"rikka_botan/",
113
+ local_dir_use_symlinks=False
114
+ )
115
+ ```
116
+
117
  ②以下のプログラムを実行します execute this program
118
 
119
  ```python