Spaces:
Running
Running
| # CRITICAL: spaces must be imported first in app.py to avoid CUDA initialization issues | |
| # Hugging Face Spaces GPU support | |
| spaces>=0.30.0 | |
| # Gradio for the UI - using latest version (security update required) | |
| gradio>=5.49.0 | |
| # Core dependencies for Wan2.2 video generation | |
| torch>=2.5.0 | |
| torchvision>=0.20.0 | |
| numpy>=1.26.0 | |
| pillow>=10.4.0 | |
| # Diffusers - using main branch for latest Wan2.2 features | |
| git+https://github.com/huggingface/diffusers | |
| # Accelerate for optimization | |
| accelerate>=1.0.0 | |
| # Additional dependencies for video processing | |
| opencv-python>=4.10.0 | |
| av>=13.0.0 | |
| imageio>=2.35.0 | |
| imageio-ffmpeg>=0.5.0 | |
| # Transformers for T5 text encoder | |
| transformers>=4.46.0 | |
| ftfy>=6.2.0 | |
| # Safe tensor loading | |
| safetensors>=0.4.5 | |
| # Model downloading | |
| huggingface-hub>=0.26.0 | |
| # Additional optimization libraries | |
| sentencepiece>=0.2.0 | |
| protobuf>=5.28.0 | |