Spaces:
Running
on
Zero
Running
on
Zero
no message
Browse files- requirements.txt +1 -1
- webui.py +2 -2
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
conformer==0.3.2
|
3 |
deepspeed==0.14.2; sys_platform == 'linux'
|
4 |
diffusers==0.27.2
|
|
|
1 |
+
#--extra-index-url https://download.pytorch.org/whl/cu118
|
2 |
conformer==0.3.2
|
3 |
deepspeed==0.14.2; sys_platform == 'linux'
|
4 |
diffusers==0.27.2
|
webui.py
CHANGED
@@ -141,8 +141,8 @@ print("Python version:", python_version)
|
|
141 |
from huggingface_hub import dump_environment_info
|
142 |
|
143 |
dump_environment_info()
|
144 |
-
from
|
145 |
-
snapshot_download(
|
146 |
|
147 |
os.system('apt-get -y update && apt-get -y install sox libsox-dev')
|
148 |
|
|
|
141 |
from huggingface_hub import dump_environment_info
|
142 |
|
143 |
dump_environment_info()
|
144 |
+
from huggingface_hub import snapshot_download
|
145 |
+
snapshot_download(repo_id="tanbw/CosyVoice", local_dir='pretrained_models')
|
146 |
|
147 |
os.system('apt-get -y update && apt-get -y install sox libsox-dev')
|
148 |
|