unbreak -min
This commit is contained in:
parent
fdd443b10f
commit
43dbf431f8
2 changed files with 5 additions and 1 deletions
|
|
@ -30,6 +30,10 @@ If you find a better voice match for `tts-1` or `tts-1-hd`, please let me know s
|
|||
|
||||
## Recent Changes
|
||||
|
||||
Version 0.17.2, 2024-07-01
|
||||
|
||||
* fix -min image (re: langdetect)
|
||||
|
||||
Version 0.17.1, 2024-07-01
|
||||
|
||||
* fix ROCm (add langdetect to requirements-rocm.txt)
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ from loguru import logger
|
|||
from openedai import OpenAIStub, BadRequestError, ServiceUnavailableError
|
||||
from pydantic import BaseModel
|
||||
import uvicorn
|
||||
from langdetect import detect
|
||||
|
||||
@contextlib.asynccontextmanager
|
||||
async def lifespan(app):
|
||||
|
|
@ -405,6 +404,7 @@ if __name__ == "__main__":
|
|||
from TTS.tts.models.xtts import Xtts
|
||||
from TTS.utils.manage import ModelManager
|
||||
from TTS.tts.layers.xtts.tokenizer import split_sentence
|
||||
from langdetect import detect
|
||||
|
||||
if args.preload:
|
||||
xtts = xtts_wrapper(args.preload, device=args.xtts_device, unload_timer=args.unload_timer)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue