uvicorn transformers torch scipy fastapi numpy riffusion PIL