| torch # PyTorch CPU | |
| diffusers[torch] # Stable Diffusion inpainting | |
| transformers # Diffusers dependency | |
| gradio # Web UI | |
| pillow # Image I/O | |
| numpy # Array ops | |
| opencv-python # cv2 | |
| basicsr # RRDBNet architecture | |
| git+https://github.com/xinntao/Real-ESRGAN.git # RealESRGANer helper :contentReference[oaicite:2]{index=2} | |