sca255 commited on
Commit
1f29652
·
verified ·
1 Parent(s): e0fdd02

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from huggingface_hub import hf_hub_download
2
+ import os
3
+ hf_hub_download("AIHeaven/rvc-models","VT-TTS_Haruka_rmvpe_250epoch.zip",local_dir=".")
4
+ os.system ("mkdir models")
5
+ os.system ("mkdir models/haruka")
6
+ os.system ("unzip VT-TTS_Haruka_rmvpe_250epoch.zip -d models/haruka")
7
+ os.system ("pip install xtts_api_server")
8
+ os.system ("python -m xtts_api_server -mf models")