|
--- |
|
title: Ilaria Upscaler |
|
emoji: π |
|
colorFrom: pink |
|
colorTo: pink |
|
sdk: gradio |
|
sdk_version: 3.46.0 |
|
app_file: app.py |
|
pinned: false |
|
--- |
|
|
|
 |
|
*** |
|
[](https://huggingface.co/spaces/TheStinger/Ilaria_Upscaler) [](https://huggingface.co/spaces/TheStinger/Ilaria_Upscaler?duplicate=true) [](https://github.com/TheStingerX/Ilaria-Upscaler) [](https://discord.gg/aihub) [](https://ko-fi.com/ilariaowo) |
|
*** |
|
<p align="center"> |
|
<h1>Ilaria Upscaler π</h1> |
|
</p> |
|
|
|
π Welcome to Ilaria Upscaler! π |
|
|
|
This project leverages various libraries and modules to create a Graphical User Interface (GUI) for upscaling images. |
|
It's primarily designed for use with HuggingFace Spaces. π€ |
|
|
|
Ilaria Upscaler is part of the Ilaria AI Suite wich includes various easy and powerful tools. π |
|
|
|
## π¦ Installation π¦ |
|
|
|
To use this project, clone the original Space on Hugging Face. |
|
Make sure you restart it time to time to keep up with the new updates. |
|
|
|
## π₯οΈ Usage π₯οΈ |
|
|
|
Once the dependencies are installed automatically, Hugging Face will use app.py to start the user interface. |
|
From there, you can utilize the various features of the project. |
|
|
|
## π Features π |
|
|
|
Ilaria Upscaler offers a range of features, including: |
|
|
|
- πΌοΈ **Image Upscaling and Restoration**: |
|
Ilaria Upscaler uses the RealESRGANer class from the realesrgan module to upscale and restore images. |
|
It supports multiple models, each with different scales and architectures, providing flexibility in the upscaling process. |
|
|
|
- ποΈ **Adjustable Parameters**: |
|
The realesrgan function allows users to adjust various parameters such as the model name, denoise strength, face enhancement, and output scale. |
|
This provides a high level of customization to fit different use cases. |
|
|
|
- π₯οΈ **User-Friendly Web Interface**: |
|
Ilaria Upscaler The code uses the gradio module to create an intuitive web interface. |
|
Users can easily upload an image, and the application will return the upscaled and restored image. |
|
|
|
- π **Efficient File Handling**: |
|
The code uses the os and basicsr.utils.download_util modules for efficient file handling operations. |
|
It checks if the model file exists in the local directory, and if not, it downloads the file from the specified URL. |
|
|
|
- π© **Face Enhancement Option**: |
|
If the face_enhance parameter is set to True, the code uses the GFPGANer class from the gfpgan module to enhance faces in the image. |
|
This is particularly useful for images with faces that need to be upscaled and enhanced separately from the rest of the image. |
|
|
|
## π Credits π |
|
|
|
- **Squishy** - For helping me with the ideas |
|
|
|
## π€ Contributing π€ |
|
|
|
Interested in contributing to this project? Ilaria is always looking for collaborators. |
|
Feel free to open a pull request on Hugging Face. |
|
|
|
## π License π |
|
|
|
This project is released under the `INCU` license. |
|
For more details, please check the license file. |
|
For further questions feel free to contact Ilaria. |