Ahsen Khaliq commited on
Commit
f95c8f1
1 Parent(s): 5d0e7cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -20,7 +20,7 @@ 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")],
@@ -28,5 +28,6 @@ gr.Interface(
28
  title=title,
29
  description=description,
30
  article=article,
31
- enable_queue=True
 
32
  ).launch(debug=True)
 
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=[['ETH_LR.png']]
24
  gr.Interface(
25
  inference,
26
  [gr.inputs.Image(type="pil", label="Input")],
 
28
  title=title,
29
  description=description,
30
  article=article,
31
+ enable_queue=True,
32
+ examples=examples
33
  ).launch(debug=True)