# requirements.txt # Core dependencies with compatible versions diffusers==0.21.4 transformers>=4.31.0 huggingface-hub==0.16.4 # This version still has cached_download torch>=2.0.0 accelerate>=0.20.3 safetensors>=0.3.1 # Image processing Pillow>=9.0.0 opencv-python>=4.7.0 # API and utilities fastapi>=0.100.0 python-multipart>=0.0.6 uvicorn>=0.22.0 python-dotenv>=1.0.0