A user-friendly Gradio web interface for the powerful SUP-Toolbox image restoration and upscaling library.
The SUP Toolbox App provides an intuitive and interactive web interface for the SUP-Toolbox library. It allows you to harness the power of advanced image enhancement models like SUPIR, FaithDiff, and ControlNetTile through a user-friendly Gradio application, without needing to use the command line.
This application is designed for artists, photographers, and enthusiasts who want to visually experiment with different settings, manage presets, and process images one by one with real-time feedback.
- Interactive UI: A clean and organized Gradio interface for easy access to all features.
- Full Engine Support: Access and combine all restoration (
SUPIR,FaithDiff) and upscaling (SUPIR,FaithDiff,ControlNetTile) engines from the core library. - Preset Management: Create, save, and load your custom workflows as
.jsonpresets directly from the UI. - Live Previews & Comparison: Instantly see the results of your settings with before-and-after image sliders.
- Metadata Handling: Automatically saves all generation parameters within the output image. Load settings from a previously generated image by simply dropping it into the app.
- Real-time Logging: A live log panel shows the progress of the image generation process.
This application depends on the sup-toolbox library. Therefore, it shares the same hardware and software requirements. For a detailed breakdown, please refer to the core library's documentation:
➡️ View Full Requirements in the SUP-Toolbox README
In summary:
- Python 3.10+, Git
- NVIDIA GPU with 12GB+ VRAM recommended.
- ~83 GB of disk space for models.
The setup process is designed to be simple. It will create a virtual environment and install both the sup-toolbox library from its GitHub repository and all other necessary Python packages.
git clone https://github.com/DEVAIEXP/sup-toolbox-app.git
cd sup-toolbox-appChoose the script that matches your operating system and terminal.
-
On Windows (using PowerShell): This is the recommended method for modern Windows systems.
-
Allow script execution (one-time setup): If you haven't run PowerShell scripts before, open PowerShell as an Administrator and run:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
Press
YandEnterto confirm. -
Run the script: In a regular PowerShell terminal, run:
.\setup.ps1
-
-
On Windows (using Command Prompt):
.\setup.bat
-
On Linux or macOS:
chmod +x setup.sh ./setup.sh
This will set up everything you need. The requirements.txt file in this repository is configured to automatically download and install the correct version of the sup-toolbox library.
After a successful installation, you can easily start the application using the provided start scripts.
-
On Windows: Double-click
start.batorstart.ps1, or run them from your terminal:# In PowerShell .\start.ps1:: In Command Prompt .\start.bat -
On Linux or macOS:
./start.sh
This will activate the virtual environment and launch the Gradio application. Open your web browser and navigate to the local URL provided in the terminal (usually http://127.0.0.1:7860).
This project is the official Gradio UI front-end for the sup-toolbox library.
- sup-toolbox (Library): The core engine. It's a Python library and CLI tool that contains all the processing logic, model management, and configuration system. It's designed for programmatic use and automation.
- sup-toolbox-app (This Project): A user-friendly graphical interface that uses the
sup-toolboxlibrary as its backend. It provides no image processing logic itself but offers a convenient way to access the library's features.
For a detailed list of changes, new features, and bug fixes for each version of this application, please see the CHANGELOG.md file.
The SUP Toolbox App (this project) is licensed under the Apache License, Version 2.0. You can find the full license text in the LICENSE file in this repository.
Please be aware that this application is a front-end for the sup-toolbox library, which integrates several third-party components, some of which are under non-commercial licenses (such as SUPIR).
By using this application, you acknowledge and agree to comply with all the licensing terms of the underlying sup-toolbox library and its components. For a complete breakdown of these licenses, please refer to the library's documentation:
➡️ View Full Licensing Details in the SUP-Toolbox README
For questions or issues related to this Gradio application, please open an issue in this repository. For issues related to the core processing logic, please refer to the sup-toolbox library's repository.
Project Contact: contact@devaiexp.com