Spaces:
Sleeping
Sleeping
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") |