feat: ship requirements.txt with portable install instructions

ComfyUI-Manager installs requirements.txt automatically, but the pack
never shipped one, so manual/portable installs got zero dependencies.
List the feature-level deps (soundfile, jieba, huggingface_hub,
ffmpeg-python, opencv-python, imageio) and document the embedded-python
install command for ComfyUI Portable plus optional extras (voxcpm,
openai-whisper, qwen-asr, nvidia-vfx).
This commit is contained in:
Z User 2026-09-28 21:26:34 +00:00
parent 8ede97ab11
commit 43c7051f09
2 changed files with 57 additions and 0 deletions

View File

@ -19,6 +19,34 @@ cd Your_ComfyUI_Path/custom_nodes
git clone https://huggingface.co/turtle89431/Moxie-Multimedia git clone https://huggingface.co/turtle89431/Moxie-Multimedia
``` ```
### Installing dependencies
**ComfyUI Manager** installs `requirements.txt` automatically. If you cloned the repository manually, install the dependencies yourself:
**ComfyUI Portable (Windows)** — run from the portable root folder (the one containing `run_nvidia_gpu.bat`):
```bat
cd Your_ComfyUI_windows_portable
.\python_embeded\python.exe -m pip install -r .\ComfyUI\custom_nodes\Moxie-Multimedia\requirements.txt
```
**Regular ComfyUI (venv / system Python):**
```bash
pip install -r Your_ComfyUI_Path/custom_nodes/Moxie-Multimedia/requirements.txt
```
Restart ComfyUI afterwards.
Optional features install their extra dependencies on demand and show a clear error message naming the missing package:
| Feature | Extra to install |
|---|---|
| Speech / voiceover generation | `pip install voxcpm` |
| Subtitle recognition (local Whisper) | `pip install openai-whisper` |
| Subtitle recognition (Qwen ASR) | `pip install qwen-asr` |
| RTX VSR upscale (NVIDIA only) | `pip install nvidia-vfx` |
### Models ### Models
All model files ship **inside the repo** — cloning it into `custom_nodes` is all that's needed. The loader finds everything automatically in the pack's `models/` folders: All model files ship **inside the repo** — cloning it into `custom_nodes` is all that's needed. The loader finds everything automatically in the pack's `models/` folders:

29
requirements.txt Normal file
View File

@ -0,0 +1,29 @@
# Moxie Multimedia Suite - Python dependencies
#
# ComfyUI-Manager installs this file automatically.
# If you cloned the pack manually, install it yourself - see README.md
# ("Installing dependencies") for the ComfyUI Portable command.
#
# Only feature-level dependencies are listed here. Core stack (torch,
# numpy, Pillow, PyYAML, aiohttp) comes with ComfyUI itself, and every
# heavier extra (speech, ASR, RTX upscale) is imported lazily with a
# clear error message telling you what to install - see the optional
# extras table in README.md.
# Audio: reading/writing merged and generated audio
soundfile
# Subtitles: CJK-aware smart line splitting
jieba
# Model downloads from the media browser / helper routes
huggingface_hub
# Smart split (shot detection) - ffmpeg CLI wrapper
ffmpeg-python
# Smart split (shot detection helpers)
opencv-python
# Smart split (dataset loaders)
imageio