Spaces:
Runtime error
Runtime error
Create app.py
Browse files
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")
|