update xtts-webui

This commit is contained in:
Mathieu Broillet 2024-08-19 18:35:27 +02:00
parent 2eac054623
commit 7417e9e5d1
Signed by: mathieu
GPG Key ID: A08E484FE95074C1
2 changed files with 5 additions and 2 deletions

View File

@ -26,8 +26,10 @@ install_xtts() {
sed -i 's/asr_model = WhisperModel(whisper_model, device=device, compute_type="float16")/asr_model = WhisperModel(whisper_model, device=device, compute_type="int8")/' webui/scripts/utils/formatter.py
# Deepspeed and ninja (not working)
$python_exec -m pip install ninja #deepspeed
$python_exec -m pip install ninja deepspeed
# apt-get install -y ninja-build
ln -S webui/models models
}
# Main function

View File

@ -11,7 +11,8 @@ main() {
rocm-smi
# Start XTTS
$python_exec webui/app.py --host 0.0.0.0 -v v2.0.3
cd webui/
TORCH_BLAS_PREFER_HIPBLASLT=0 ../$python_exec app.py --host 0.0.0.0 -v v2.0.3
}
main