Files
Eutectico-ComfyUI-MOSS-TTS/nodes/__init__.py
T
Federico Volovnik-Jose 284d50b44c fix: convert to relative imports + cache key/cpu/cleanup_one fixes
- Use relative imports across nodes/ and lib/ so ComfyUI's loader resolves the
  local subpackages instead of colliding with ComfyUI's own top-level nodes module.
- tts_output_to_audio_dict now returns CPU tensors so downstream nodes don't see CUDA tensors.
- model_state cache key uses resolved dtype string, so dtype=auto and the matching
  explicit choice share one cache slot (no spurious 13 GB reload).
- Add cleanup_one(key) helper as called for in spec section 4.
- Fix pyproject Homepage URL to point at this repo.
2026-04-25 16:51:32 +02:00

12 lines
266 B
Python

from .loader import MOSSTTSLoader
from .voice_reference import MOSSTTSVoiceReference
from .generate import MOSSTTSGenerate
from .unload import MOSSTTSUnload
__all__ = [
"MOSSTTSLoader",
"MOSSTTSVoiceReference",
"MOSSTTSGenerate",
"MOSSTTSUnload",
]