Commit
·
1e083bf
1
Parent(s):
7ef6739
Fix PyAV dependency for video processing
Browse files- Add av>=10.0.0 to requirements.txt and fastapi_requirements.txt
- Resolves torchvision video operations error in HuggingFace Space
- Required for video frame extraction and processing
- fastapi_requirements.txt +3 -0
- requirements.txt +1 -0
fastapi_requirements.txt
CHANGED
|
@@ -7,3 +7,6 @@ python-multipart==0.0.6
|
|
| 7 |
pydantic==2.5.0
|
| 8 |
python-jose[cryptography]==3.3.0
|
| 9 |
passlib[bcrypt]==1.7.4
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
pydantic==2.5.0
|
| 8 |
python-jose[cryptography]==3.3.0
|
| 9 |
passlib[bcrypt]==1.7.4
|
| 10 |
+
|
| 11 |
+
# Video processing dependency for torchvision
|
| 12 |
+
av>=10.0.0
|
requirements.txt
CHANGED
|
@@ -11,6 +11,7 @@ pillow>=10.0.0
|
|
| 11 |
opencv-python>=4.8.0
|
| 12 |
imageio>=2.31.0
|
| 13 |
imageio-ffmpeg>=0.4.9
|
|
|
|
| 14 |
|
| 15 |
# Hugging Face Integration
|
| 16 |
huggingface-hub>=0.20.0
|
|
|
|
| 11 |
opencv-python>=4.8.0
|
| 12 |
imageio>=2.31.0
|
| 13 |
imageio-ffmpeg>=0.4.9
|
| 14 |
+
av>=10.0.0
|
| 15 |
|
| 16 |
# Hugging Face Integration
|
| 17 |
huggingface-hub>=0.20.0
|