tomaseo2022 commited on
Commit
a12e19d
1 Parent(s): bbd0a76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -18,9 +18,9 @@ def inference(img):
18
  os.system('python main_test_swinir.py --task real_sr --model_path experiments/pretrained_models/003_realSR_BSRGAN_DFO_s64w8_SwinIR-M_x4_GAN.pth --folder_lq test --scale 4')
19
  return 'results/swinir_real_sr_x4/1_SwinIR.png'
20
 
21
- title = "SwinIR"
22
- 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 below. 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."
23
- 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>"
24
 
25
  examples=[['ETH_LR.png']]
26
  gr.Interface(
 
18
  os.system('python main_test_swinir.py --task real_sr --model_path experiments/pretrained_models/003_realSR_BSRGAN_DFO_s64w8_SwinIR-M_x4_GAN.pth --folder_lq test --scale 4')
19
  return 'results/swinir_real_sr_x4/1_SwinIR.png'
20
 
21
+ title = ""
22
+ description = ""
23
+ article = ""
24
 
25
  examples=[['ETH_LR.png']]
26
  gr.Interface(