using landetect to automatically set the language of the request in xtts

inference
This commit is contained in:
book3 2024-07-01 12:33:27 -03:00
parent a99b196c45
commit be02887ad9
2 changed files with 18 additions and 3 deletions

View file

@ -3,6 +3,7 @@ uvicorn
loguru
piper-tts
coqui-tts[languages]
langdetect
# Creating an environment where deepspeed works is complex, for now it will be disabled by default.
#deepspeed
@ -12,4 +13,4 @@ torchaudio; sys_platform != "darwin"
torch; --index-url https://download.pytorch.org/whl/cpu; sys_platform == "darwin"
torchaudio; --index-url https://download.pytorch.org/whl/cpu; sys_platform == "darwin"
# ROCM (Linux only) - use requirements.amd.txt
# ROCM (Linux only) - use requirements.amd.txt