Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
d7269f9
1
Parent(s):
d0aae25
Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,10 @@ def inference(img):
|
|
17 |
return 'results/swinir_real_sr_x4/1_SwinIR.png'
|
18 |
|
19 |
title = "SwinIR"
|
20 |
-
description = "Gradio demo for SwinIR. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|
21 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2108.10257' target='_blank'>SwinIR: Image Restoration Using Swin Transformer</a> | <a href='https://github.com/JingyunLiang/SwinIR' target='_blank'>Github Repo</a></p>"
|
|
|
|
|
22 |
gr.Interface(
|
23 |
inference,
|
24 |
[gr.inputs.Image(type="pil", label="Input")],
|
|
|
17 |
return 'results/swinir_real_sr_x4/1_SwinIR.png'
|
18 |
|
19 |
title = "SwinIR"
|
20 |
+
description = "Gradio demo for SwinIR. SwinIR achieves state-of-the-art performance on six tasks: image super-resolution (including classical, lightweight and real-world image super-resolution), image denoising (including grayscale and color image denoising) and JPEG compression artifact reduction. See the paper and project page for detailed results. Here, we provide a demo for real-world image SR.To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|
21 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2108.10257' target='_blank'>SwinIR: Image Restoration Using Swin Transformer</a> | <a href='https://github.com/JingyunLiang/SwinIR' target='_blank'>Github Repo</a></p>"
|
22 |
+
|
23 |
+
examples=[['']]
|
24 |
gr.Interface(
|
25 |
inference,
|
26 |
[gr.inputs.Image(type="pil", label="Input")],
|