Spaces:
Running
on
Zero
Running
on
Zero
Delete deploy.sh
Browse files
deploy.sh
DELETED
@@ -1,25 +0,0 @@
|
|
1 |
-
git clone --recursive https://github.com/FunAudioLLM/CosyVoice.git
|
2 |
-
# If you failed to clone submodule due to network failures, please run following command until success
|
3 |
-
cd CosyVoice
|
4 |
-
git submodule update --init --recursive
|
5 |
-
|
6 |
-
# pynini is required by WeTextProcessing, use conda to install it as it can be executed on all platform.
|
7 |
-
pip install pynini==2.1.5
|
8 |
-
pip install -r requirements.txt
|
9 |
-
|
10 |
-
# If you encounter sox compatibility issues
|
11 |
-
# ubuntu
|
12 |
-
sudo apt-get install sox libsox-dev
|
13 |
-
|
14 |
-
mkdir -p pretrained_models
|
15 |
-
huggingface-cli download model-scope/CosyVoice-300M --local-dir pretrained_models/CosyVoice-300M --token=$(cat /run/secrets/hf_token)
|
16 |
-
huggingface-cli download model-scope/CosyVoice-300M-SFT --local-dir pretrained_models/CosyVoice-300M-SFT --token=$(cat /run/secrets/hf_token)
|
17 |
-
huggingface-cli download FunAudioLLM/CosyVoice-ttsfrd --local-dir pretrained_models/CosyVoice-ttsfrd --token=$(cat /run/secrets/hf_token)
|
18 |
-
|
19 |
-
ls pretrained_models
|
20 |
-
|
21 |
-
cd pretrained_models/CosyVoice-ttsfrd/
|
22 |
-
unzip resource.zip -d .
|
23 |
-
pip install ttsfrd-0.3.6-cp38-cp38-linux_x86_64.whl
|
24 |
-
|
25 |
-
export PYTHONPATH=third_party/Matcha-TTS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|