5dfaa0b300
- 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>
16 lines
501 B
Python
16 lines
501 B
Python
from .nodes import OmniVoiceModelLoader, OmniVoiceGenerate, OmniVoiceEpubLoader
|
|
|
|
NODE_CLASS_MAPPINGS = {
|
|
"OmniVoiceModelLoader": OmniVoiceModelLoader,
|
|
"OmniVoiceGenerate": OmniVoiceGenerate,
|
|
"OmniVoiceEpubLoader": OmniVoiceEpubLoader,
|
|
}
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"OmniVoiceModelLoader": "OmniVoice Model Loader",
|
|
"OmniVoiceGenerate": "OmniVoice Generate",
|
|
"OmniVoiceEpubLoader": "OmniVoice EPUB Loader",
|
|
}
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
|