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:
+6
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user