Replace install.py with standard requirements.txt

install.py was running arbitrary pip installs as part of node loading,
which is dangerous in a shared venv. Standard approach: requirements.txt
lists the safe deps (transformers, accelerate, soundfile, etc.);
omnivoice itself must be installed once manually with --no-deps to avoid
overwriting ComfyUI's torch. README documents this clearly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-05 17:44:52 +02:00
parent e8e8943692
commit dbb3207df1
3 changed files with 10 additions and 41 deletions
+6 -4
View File
@@ -1,4 +1,6 @@
# Dependencies are managed by install.py to avoid overwriting ComfyUI's torch.
# omnivoice pins torch==2.8.* (CUDA 12.8) which would break ComfyUI's torch build.
# Do not add omnivoice here — install.py handles it with --no-deps.
# EPUB parsing (OmniVoiceEpubLoader) requires beautifulsoup4 (installed by install.py).
transformers>=4.40.0
accelerate
pydub
soundfile
numpy
beautifulsoup4