Felixogunwale commited on
Commit
93089af
1 Parent(s): d484c6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -19,11 +19,11 @@ def inference(image, task):
19
  if task == 'Deblurring':
20
  os.system("python basicsr/demo.py -opt options/test/REDS/NAFNet-width64.yml --input_path ./tmp/lq_image.png --output_path ./tmp/image.png")
21
 
22
- return 'http://tmp/image.png'
23
 
24
- title = "image deblurring"
25
- description = "Gradio demo for <b>Felix ogunwale image deblurring restoration project</b>. This project achieves state-of-the-art performance on three tasks: image denoising, image debluring and stereo image super-resolution (SR). We provide a demo for image denoise and deblur on hugging face for easy graphical user interface. To use it, we simply upload our image, or click one of the examples to load them. Inference needs some time since this demo uses CPU."
26
- article = "<p>Hugging face is an online machine learning deployment interface for users interference. For editing of codes and updating please see the app.py file</p>"
27
 
28
 
29
  examples = [['demo/noisy.png', 'Denoising'],
 
19
  if task == 'Deblurring':
20
  os.system("python basicsr/demo.py -opt options/test/REDS/NAFNet-width64.yml --input_path ./tmp/lq_image.png --output_path ./tmp/image.png")
21
 
22
+ return 'tmp/image.png'
23
 
24
+ title = "NAFNet"
25
+ description = "Gradio demo for <b>NAFNet: Nonlinear Activation Free Network for Image Restoration</b>. NAFNet achieves state-of-the-art performance on three tasks: image denoising, image debluring and stereo image super-resolution (SR). See the paper and project page for detailed results below. Here, we provide a demo for image denoise and deblur. To use it, simply upload your image, or click one of the examples to load them. Inference needs some time since this demo uses CPU."
26
+ article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2204.04676' target='_blank'>Simple Baselines for Image Restoration</a> | <a href='https://arxiv.org/abs/2204.08714' target='_blank'>NAFSSR: Stereo Image Super-Resolution Using NAFNet</a> | <a href='https://github.com/megvii-research/NAFNet' target='_blank'> Github Repo</a></p>"
27
 
28
 
29
  examples = [['demo/noisy.png', 'Denoising'],