A local web interface for upscaling images using AI models.
- Supports AI upscaling models through spandrel
- Supports both .pth and .safetensors model formats
- Image resize functionality with various scaling methods
- Image information viewer
- Configurable through web interface
- Python 3.9 or higher
- CUDA-capable GPU
- nvidia-smi
- imagemagick
- Clone this repository
- Install PyTorch CUDA from https://pytorch.org/get-started/locally/
- Install imagemagick and other requirements:
pip install -r requirements.txt - Place your model files in the models directory
-
Start the application:
python web-upscaler.py -
Open in browser:
http://localhost:5000
Adjust settings through the web interface or config.ini:
- Model directory path
- VRAM usage limits
- Processing settings
- Default options
- Uses Spandrel for model loading
- VRAM usage data from @the-database
