52Hz commited on
Commit
aa390c2
1 Parent(s): a53ef44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -14,13 +14,13 @@ def inference(img):
14
  #img = img.resize((basewidth, hsize), Image.ANTIALIAS)
15
  img.save("test/1.png", "PNG")
16
  os.system(
17
- 'python main_test_SRMNet.py --input_dir test --weights experiments/pretrained_models/real_denoising_SRMNet.pth')
18
  return 'result/1.png'
19
 
20
 
21
- title = "Selective Residual M-Net for Real-world Image Denoising"
22
- description = "Gradio demo for SRMNet. SRMNet has competitive performance results on two synthetic and two realworld noisy datasets in terms of quantitative metrics and visual quality. See the paper and project page for detailed results below. Here, we provide a demo for real-world image denoising. To use it, simply upload your image, or click one of the examples to load them. Reference from: https://huggingface.co/akhaliq"
23
- article = "<p style='text-align: center'><a href='https://' target='_blank'>Selective Residual M-Net</a> | <a href='https://github.com/FanChiMao/SRMNet' target='_blank'>Github Repo</a></p>"
24
 
25
  examples = [['Noise.png'], ['Noise2.png']]
26
  gr.Interface(
 
14
  #img = img.resize((basewidth, hsize), Image.ANTIALIAS)
15
  img.save("test/1.png", "PNG")
16
  os.system(
17
+ 'python main_test_HWMNet.py --input_dir test --weights experiments/pretrained_models/LOL_enhancement_HWMNet.pth')
18
  return 'result/1.png'
19
 
20
 
21
+ title = "Half Wavelet Attention on M-Net+ for Low-light Image Enhancement"
22
+ description = "Gradio demo for HWMNet. HWMNet has competitive performance results on two real-world low-light datasets in terms of quantitative metrics and visual quality. See the paper and project page for detailed results below. Here, we provide a demo for low-light image enhancement. To use it, simply upload your image, or click one of the examples to load them. Reference from: https://huggingface.co/akhaliq"
23
+ article = "<p style='text-align: center'><a href='https://' target='_blank'>Half Wavelet Attention on M-Net+ for Low-light Image Enhancement</a> | <a href='https://github.com/FanChiMao/HWMNet' target='_blank'>Github Repo</a></p>"
24
 
25
  examples = [['Noise.png'], ['Noise2.png']]
26
  gr.Interface(