fastapi uvicorn torch diffusers transformers>=4.22.0 accelerate Pillow # For handling images ftfy # Fixes text issues, required for tokenization scipy # For certain image processing operations