Files
OmniLottie/requirements.txt
OmniLottieandClaude Opus 4.6 ff8dddd19a 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>
2026-03-05 14:22:38 +08:00

28 lines
623 B
Plaintext

# Core dependencies
transformers==4.51.3
safetensors==0.7.0
# Data processing
numpy>=1.24.1,<2.3.0 # 兼容opencv-python 4.12.0.88的要求(>=2.0)和pandas 2.3.3
pandas==2.3.3
Pillow>=10.1.0,<12.0 # 兼容gradio 5.37.0的要求(<12.0)
datasets==3.5.0
# Vision and video
decord==0.6.0
opencv-python==4.12.0.88
qwen-vl-utils==0.0.11
# Hugging Face
huggingface-hub>=0.28.1 # 满足gradio和datasets的要求
# Additional dependencies for compatibility
pydantic>=2.0,<2.12 # gradio和deepspeed的要求
fsspec>=2023.1.0,<=2024.12.0 # datasets的要求
# Web interface
gradio==5.37.0
# System utilities
psutil==7.2.1