Andro0s commited on
Commit
69d76d8
·
verified ·
1 Parent(s): 8110204

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -37
README.md CHANGED
@@ -1,40 +1,13 @@
1
  ---
2
- language:
3
- - ru
4
- - en
5
- tags:
6
- - PyTorch
7
- thumbnail: "https://github.com/sberbank-ai/Real-ESRGAN"
 
 
8
  ---
9
 
10
- # Real-ESRGAN
11
-
12
- PyTorch implementation of a Real-ESRGAN model trained on custom dataset. This model shows better results on faces compared to the original version. It is also easier to integrate this model into your projects.
13
-
14
- Real-ESRGAN is an upgraded ESRGAN trained with pure synthetic data is capable of enhancing details while removing annoying artifacts for common real-world images.
15
-
16
- - [Paper](https://arxiv.org/abs/2107.10833)
17
- - [Original implementation](https://github.com/xinntao/Real-ESRGAN)
18
- - [Our github](https://github.com/sberbank-ai/Real-ESRGAN)
19
-
20
- ## Usage
21
-
22
- Code for using model you can obtain in our [repo](https://github.com/sberbank-ai/Real-ESRGAN).
23
- ```python
24
- import torch
25
- from PIL import Image
26
- import numpy as np
27
- from RealESRGAN import RealESRGAN
28
-
29
- device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
30
-
31
- model = RealESRGAN(device, scale=4)
32
- model.load_weights('weights/RealESRGAN_x4.pth', download=True)
33
-
34
- path_to_image = 'inputs/lr_image.png'
35
- image = Image.open(path_to_image).convert('RGB')
36
-
37
- sr_image = model.predict(image)
38
-
39
- sr_image.save('results/sr_image.png')
40
- ```
 
1
  ---
2
+ title: Upscaler Aliah
3
+ emoji: 🚀
4
+ colorFrom: blue
5
+ colorTo: green
6
+ sdk: gradio
7
+ sdk_version: 4.44.0
8
+ app_file: app.py
9
+ pinned: false
10
  ---
11
 
12
+ # Upscaler de Imágenes
13
+ Este espacio aumenta el tamaño y la calidad de tus imágenes usando Real-ESRGAN.