Spaces:
Runtime error
Runtime error
Rename app.py to real_esrgan_app.py
Browse files
app.py → real_esrgan_app.py
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
import os
|
2 |
-
os.system("pip install gradio==2.9b23")
|
3 |
import random
|
4 |
import gradio as gr
|
5 |
from PIL import Image
|
@@ -50,7 +50,7 @@ def inference(img,mode):
|
|
50 |
|
51 |
|
52 |
|
53 |
-
|
54 |
title = "Real-ESRGAN"
|
55 |
description = "Gradio demo for Real-ESRGAN. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below. Please click submit only once"
|
56 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2107.10833'>Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data</a> | <a href='https://github.com/xinntao/Real-ESRGAN'>Github Repo</a></p>"
|
@@ -65,4 +65,5 @@ gr.Interface(
|
|
65 |
examples=[
|
66 |
['bear.jpg','base'],
|
67 |
['anime.png','anime']
|
68 |
-
]).launch()
|
|
|
|
1 |
import os
|
2 |
+
#os.system("pip install gradio==2.9b23")
|
3 |
import random
|
4 |
import gradio as gr
|
5 |
from PIL import Image
|
|
|
50 |
|
51 |
|
52 |
|
53 |
+
'''
|
54 |
title = "Real-ESRGAN"
|
55 |
description = "Gradio demo for Real-ESRGAN. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below. Please click submit only once"
|
56 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2107.10833'>Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data</a> | <a href='https://github.com/xinntao/Real-ESRGAN'>Github Repo</a></p>"
|
|
|
65 |
examples=[
|
66 |
['bear.jpg','base'],
|
67 |
['anime.png','anime']
|
68 |
+
]).launch()
|
69 |
+
'''
|