onnxruntime # ONNX inference for ESRGAN models numpy # Array ops Pillow # Image I/O gradio>=4.0 # Web UI (ImageSlider needs 4.x+) gdown # Reliable Google Drive downloader (handles confirmation pages) torch # PyTorch — loads SRCNN directly from .pth torchvision # Required by torch