Update README.md
Browse files
README.md
CHANGED
|
@@ -7,7 +7,7 @@ sdk: gradio
|
|
| 7 |
sdk_version: 5.37.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
-
short_description: Upscaler
|
| 11 |
---
|
| 12 |
|
| 13 |

|
|
@@ -15,61 +15,39 @@ short_description: Upscaler.
|
|
| 15 |
[](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)
|
| 16 |
***
|
| 17 |
<p align="center">
|
| 18 |
-
<h1>
|
| 19 |
-
</p>
|
| 20 |
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
This project leverages various libraries and modules to create a Graphical User Interface (GUI) for upscaling images.
|
| 24 |
-
It's primarily designed for use with HuggingFace Spaces. 🤗
|
| 25 |
-
|
| 26 |
-
Ilaria Upscaler is part of the Ilaria AI Suite wich includes various easy and powerful tools. 💖
|
| 27 |
-
|
| 28 |
-
## 📦 Installation 📦
|
| 29 |
|
| 30 |
To use this project, clone the original Space on Hugging Face.
|
| 31 |
Make sure you restart it time to time to keep up with the new updates.
|
| 32 |
|
| 33 |
-
##
|
| 34 |
|
| 35 |
Once the dependencies are installed automatically, Hugging Face will use app.py to start the user interface.
|
| 36 |
From there, you can utilize the various features of the project.
|
| 37 |
|
| 38 |
-
##
|
| 39 |
|
| 40 |
-
|
| 41 |
|
| 42 |
-
-
|
| 43 |
Ilaria Upscaler uses the RealESRGANer class from the realesrgan module to upscale and restore images.
|
| 44 |
It supports multiple models, each with different scales and architectures, providing flexibility in the upscaling process.
|
| 45 |
|
| 46 |
-
-
|
| 47 |
The realesrgan function allows users to adjust various parameters such as the model name, denoise strength, face enhancement, and output scale.
|
| 48 |
This provides a high level of customization to fit different use cases.
|
| 49 |
|
| 50 |
-
-
|
| 51 |
Ilaria Upscaler The code uses the gradio module to create an intuitive web interface.
|
| 52 |
Users can easily upload an image, and the application will return the upscaled and restored image.
|
| 53 |
|
| 54 |
-
-
|
| 55 |
The code uses the os and basicsr.utils.download_util modules for efficient file handling operations.
|
| 56 |
It checks if the model file exists in the local directory, and if not, it downloads the file from the specified URL.
|
| 57 |
|
| 58 |
-
-
|
| 59 |
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.
|
| 60 |
-
This is particularly useful for images with faces that need to be upscaled and enhanced separately from the rest of the image.
|
| 61 |
-
|
| 62 |
-
## 🙏 Credits 🙏
|
| 63 |
-
|
| 64 |
-
- **Squishy** - For helping me with the ideas
|
| 65 |
-
|
| 66 |
-
## 🤝 Contributing 🤝
|
| 67 |
-
|
| 68 |
-
Interested in contributing to this project? Ilaria is always looking for collaborators.
|
| 69 |
-
Feel free to open a pull request on Hugging Face.
|
| 70 |
-
|
| 71 |
-
## 📄 License 📄
|
| 72 |
-
|
| 73 |
-
This project is released under the `INCU` license.
|
| 74 |
-
For more details, please check the license file.
|
| 75 |
-
For further questions feel free to contact Ilaria.
|
|
|
|
| 7 |
sdk_version: 5.37.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
+
short_description: Upscaler
|
| 11 |
---
|
| 12 |
|
| 13 |

|
|
|
|
| 15 |
[](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)
|
| 16 |
***
|
| 17 |
<p align="center">
|
| 18 |
+
<h1>Upscale</h1>
|
| 19 |
+
</p>
|
| 20 |
|
| 21 |
+
## Installation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
To use this project, clone the original Space on Hugging Face.
|
| 24 |
Make sure you restart it time to time to keep up with the new updates.
|
| 25 |
|
| 26 |
+
## Usage
|
| 27 |
|
| 28 |
Once the dependencies are installed automatically, Hugging Face will use app.py to start the user interface.
|
| 29 |
From there, you can utilize the various features of the project.
|
| 30 |
|
| 31 |
+
## Features
|
| 32 |
|
| 33 |
+
Upscaler offers a range of features, including:
|
| 34 |
|
| 35 |
+
- **Image Upscaling and Restoration**:
|
| 36 |
Ilaria Upscaler uses the RealESRGANer class from the realesrgan module to upscale and restore images.
|
| 37 |
It supports multiple models, each with different scales and architectures, providing flexibility in the upscaling process.
|
| 38 |
|
| 39 |
+
- **Adjustable Parameters**:
|
| 40 |
The realesrgan function allows users to adjust various parameters such as the model name, denoise strength, face enhancement, and output scale.
|
| 41 |
This provides a high level of customization to fit different use cases.
|
| 42 |
|
| 43 |
+
- **User-Friendly Web Interface**:
|
| 44 |
Ilaria Upscaler The code uses the gradio module to create an intuitive web interface.
|
| 45 |
Users can easily upload an image, and the application will return the upscaled and restored image.
|
| 46 |
|
| 47 |
+
- **Efficient File Handling**:
|
| 48 |
The code uses the os and basicsr.utils.download_util modules for efficient file handling operations.
|
| 49 |
It checks if the model file exists in the local directory, and if not, it downloads the file from the specified URL.
|
| 50 |
|
| 51 |
+
- **Face Enhancement Option**:
|
| 52 |
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.
|
| 53 |
+
This is particularly useful for images with faces that need to be upscaled and enhanced separately from the rest of the image.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|