Two nodes for fast 350M-param TTS with emotion tag support: - ChatterboxTurboGenerate: single text-to-speech - ChatterboxTurboDialogue: multi-speaker dialogue with voice switching Includes runtime patches for Perth watermarker (Python 3.13), s3tokenizer float32, and tts_turbo float32 (numpy 2.x compat). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
600 B
Python
22 lines
600 B
Python
"""ComfyUI custom node for ChatterBox Turbo TTS.
|
|
|
|
Fast 350M-param TTS with paralinguistic emotion tags.
|
|
"""
|
|
|
|
# 1. Apply patches FIRST (before any chatterbox imports)
|
|
from .patches import apply_all_patches
|
|
apply_all_patches()
|
|
|
|
# 2. Import nodes
|
|
from .nodes import ChatterboxTurboGenerate, ChatterboxTurboDialogue
|
|
|
|
NODE_CLASS_MAPPINGS = {
|
|
"ChatterboxTurboGenerate": ChatterboxTurboGenerate,
|
|
"ChatterboxTurboDialogue": ChatterboxTurboDialogue,
|
|
}
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"ChatterboxTurboGenerate": "ChatterBox Turbo TTS",
|
|
"ChatterboxTurboDialogue": "ChatterBox Turbo Dialogue",
|
|
}
|