Files
Eutectico-ComfyUI-MOSS-TTS/pyproject.toml
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

34 lines
666 B
TOML

[project]
name = "comfyui-moss-tts"
version = "0.1.0"
description = "ComfyUI custom nodes for MOSS-TTS 1.7B zero-shot voice cloning"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
dependencies = [
"transformers>=4.40",
"accelerate",
"torchaudio",
"librosa",
"soundfile",
"einops",
"omegaconf",
"sentencepiece",
"protobuf",
]
[project.optional-dependencies]
dev = ["pytest>=7", "pytest-mock"]
[project.urls]
Homepage = "https://github.com/Eutectico/ComfyUI-MOSS-TTS"
[tool.comfy]
PublisherId = ""
DisplayName = "MOSS-TTS"
Icon = ""
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]