File size: 538 Bytes
1f29652
 
 
 
 
 
 
1d99a5e
 
0c2671a
1
2
3
4
5
6
7
8
9
10
from huggingface_hub import hf_hub_download
import os
hf_hub_download("AIHeaven/rvc-models","VT-TTS_Haruka_rmvpe_250epoch.zip",local_dir=".")
os.system ("mkdir models")
os.system ("mkdir models/haruka")
os.system ("unzip VT-TTS_Haruka_rmvpe_250epoch.zip -d models/haruka")
os.system ("pip install xtts_api_server")
os.system ("mkdir speakers")
os.system("wget https://files.catbox.moe/2rx2fj.wav -O speakers/special_week.wav")
os.system ("python -m xtts_api_server -mf models --port 7860 -hs 0.0.0.0 -t https://sca255-xttsanime.hf.space")