Ethanfel
0d43e5374f
fix: sync requirements.txt with omnivoice's actual --no-deps dependencies
...
Pins transformers==5.3.0 (omnivoice requires exact version), restores
pydub (omnivoice dep), adds tensorboardx and webdataset.
Drops gradio (demo-only, not needed for inference).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-05 20:28:35 +02:00
Ethanfel
2b4b221e88
chore: remove unused pydub from requirements
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-05 20:27:34 +02:00
Ethanfel
dbb3207df1
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 >
2026-04-05 17:44:52 +02:00
Ethanfel
5dfaa0b300
Replace torchaudio.save with soundfile.write; add EPUB loader node
...
- nodes/generator.py: swap torchaudio.save for soundfile.write to avoid
torchcodec/FFmpeg dependency crash in environments without FFmpeg shared libs
- nodes/epub_loader.py: new OmniVoiceEpubLoader node for loading EPUB chapters
- tests/test_epub_loader.py: 8 tests for the EPUB loader
- install.py: add beautifulsoup4 to runtime deps
- __init__.py, nodes/__init__.py: register OmniVoiceEpubLoader
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-05 17:24:18 +02:00
Ethanfel
f647a24988
fix: add install.py to prevent omnivoice from overwriting ComfyUI's torch
2026-04-05 14:53:33 +02:00
Ethanfel
0760e60373
chore: remove torch/torchaudio from requirements (omnivoice declares them)
2026-04-05 10:39:44 +02:00
Ethanfel
0ed43a83ca
feat: scaffold ComfyUI-Omnivoice node package
2026-04-05 08:43:17 +02:00