File size: 3,534 Bytes
d69ad9e
abcc4f1
d69ad9e
176630a
 
d69ad9e
6b6b316
d69ad9e
 
 
 
53a960a
 
 
 
 
 
 
 
 
 
 
 
 
1e9947c
53a960a
 
 
 
 
 
 
 
 
 
 
 
 
9face45
53a960a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
title: Ilaria Upscaler
emoji: πŸŒ–
colorFrom: pink
colorTo: pink
sdk: gradio
sdk_version: 4.36.1
app_file: app.py
pinned: false
---

![Ilaria AI Suite](./ilariaaisuite.png)
***
[![Static Badge](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Space-s?labelColor=YELLOW&color=FFEA00)](https://huggingface.co/spaces/TheStinger/Ilaria_Upscaler) [![Static Badge](https://img.shields.io/badge/%F0%9F%A4%97%20HF%20Space-Duplication-s?labelColor=YELLOW&color=FFEA00)](https://huggingface.co/spaces/TheStinger/Ilaria_Upscaler?duplicate=true) [![Static Badge](https://img.shields.io/badge/GitHub-Source%20Code-s?logo=GitHub)](https://github.com/TheStingerX/Ilaria-Upscaler) [![Static Badge](https://img.shields.io/badge/AI%20Hub-Discord%20Server-s?logo=Discord&color=%09%237289da)](https://discord.gg/aihub) [![Static Badge](https://img.shields.io/badge/Ko--Fi-s?logo=Ko-Fi&label=Support%20me%20on&labelColor=434b57&color=FF5E5B)](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.