Fix dependency conflicts in requirements.txt

Updated package versions to resolve numpy compatibility issue:
- Changed numpy from ==1.24.1 to >=1.24.1,<2.3.0 (compatible with opencv-python 4.12.0.88)
- Changed Pillow from ==10.1.0 to >=10.1.0,<12.0 (compatible with gradio 5.37.0)
- Added missing dependencies: pydantic, huggingface-hub, fsspec
- Added .gitignore to exclude __pycache__ and temporary files

This resolves the pip installation error where opencv-python==4.12.0.88
requires numpy>=2.0 but the old requirements.txt specified numpy==1.24.1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
OmniLottieandClaude Opus 4.6 committed 2026-03-05 14:22:38 +08:00
1 parent 4a41e9c4ca
commit ff8dddd19a
2 files changed
+32 -3

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
# Virtual environments
venv/
ENV/
env/
# IDE
.vscode/
.idea/
# Temporary files
*.sh
=*
GITHUB_ISSUE_RESPONSE.md
# Distribution / packaging
build/
dist/
*.egg-info/