gradio>=4.0 transformers torch # if model requires it; or use cpu-only variant as appropriate Pillow