From 43c7051f098a4f633d8a4b86e2e2678811bc23cd Mon Sep 17 00:00:00 2001 From: Z User Date: Mon, 28 Sep 2026 21:26:34 +0000 Subject: [PATCH] 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). --- README.md | 28 ++++++++++++++++++++++++++++ requirements.txt | 29 +++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 requirements.txt diff --git a/README.md b/README.md index cb46dc7..da89b51 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,34 @@ cd Your_ComfyUI_Path/custom_nodes 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 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: diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..d287603 --- /dev/null +++ b/requirements.txt @@ -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