mirror of
https://github.com/calesthio/OpenMontage.git
synced 2026-08-05 15:20:40 +08:00
fix(setup): add numpy to requirements; gitignore downloaded voice models
tools/video/green_screen_composite.py imports numpy at module level (and declares "python:numpy" as a dependency), but numpy was missing from requirements.txt. Because registry.discover() imports every tool module, a fresh `make setup` followed by the mandatory preflight crashes with ModuleNotFoundError: No module named 'numpy'. Add numpy>=1.24. Also gitignore *.onnx/*.onnx.json so Piper TTS voice models fetched at runtime (e.g. en_US-lessac-medium.onnx, ~60MB) aren't accidentally committed to the repo root. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -6,6 +6,10 @@ __pycache__/
|
||||
dist/
|
||||
build/
|
||||
|
||||
# Local model downloads (e.g. Piper TTS voices, fetched at runtime — not source)
|
||||
*.onnx
|
||||
*.onnx.json
|
||||
|
||||
# Test/IDE
|
||||
.pytest_cache/
|
||||
.mypy_cache/
|
||||
|
||||
Reference in New Issue
Block a user