Fix syntax error in speech.py and document Chatterbox dependency conflict
- Fixed f-string syntax error in speech.py line 112 (unmatched parenthesis) - Documented Chatterbox dependency conflict with Coqui TTS - gradio 5.44.1 (Chatterbox) requires typer<1.0 and >=0.12 - spacy 3.6.x (Coqui TTS) requires typer<0.10.0 and >=0.3.0 - Commented out Chatterbox until conflict is resolved 🦝 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
848c2c6cb5
commit
4deedb9539
2 changed files with 5 additions and 2 deletions
|
|
@ -12,7 +12,10 @@ coqui-tts[languages]
|
|||
# Models: ~50-100MB each, CPU-friendly, real-time capable
|
||||
# Chatterbox - emotion control, 23 languages (Resemble AI)
|
||||
# Install from git since no PyPI package exists yet
|
||||
git+https://github.com/resemble-ai/chatterbox.git
|
||||
# 🦝 RACCOON NOTE: Disabled due to dependency conflict with Coqui TTS
|
||||
# gradio 5.44.1 requires typer<1.0 and >=0.12, but spacy 3.6.x requires typer<0.10.0
|
||||
# TODO: Test Chatterbox in isolated environment or wait for dependency updates
|
||||
# git+https://github.com/resemble-ai/chatterbox.git
|
||||
langdetect
|
||||
pyyaml
|
||||
# Kokoro TTS - fast decoder-only architecture
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ class xtts_wrapper():
|
|||
pass
|
||||
|
||||
finally:
|
||||
logger.debug(f"Generated {tokens} tokens in {time.time() - self.last_used):.2f}s @ {tokens / (time.time() - self.last_used):.2f} T/s")
|
||||
logger.debug(f"Generated {tokens} tokens in {time.time() - self.last_used:.2f}s @ {tokens / (time.time() - self.last_used):.2f} T/s")
|
||||
self.last_used = time.time()
|
||||
|
||||
class silero_wrapper():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue