Skip to content

Commit

Permalink
unbreak -min
Browse files Browse the repository at this point in the history
  • Loading branch information
matatonic committed Jul 2, 2024
1 parent fdd443b commit 43dbf43
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion speech.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from openedai import OpenAIStub, BadRequestError, ServiceUnavailableError
from pydantic import BaseModel
import uvicorn
from langdetect import detect

@contextlib.asynccontextmanager
async def lifespan(app):
Expand Down Expand Up @@ -405,6 +404,7 @@ def auto_torch_device():
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)
Expand Down

0 comments on commit 43dbf43

Please sign in to comment.