52Hz commited on
Commit
5fab98d
1 Parent(s): 8639c59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,7 +25,7 @@ title = "Half Wavelet Attention on M-Net+ for Low-light Image Enhancement"
25
  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"
26
  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>"
27
 
28
- examples = [['low-light.png']]
29
  gr.Interface(
30
  inference,
31
  [gr.inputs.Image(type="pil", label="Input"), gr.inputs.Dropdown(choices=['LOL', 'MIT-5K'], type="value", default='LOL', label="model")],
@@ -36,4 +36,4 @@ gr.Interface(
36
  allow_flagging=False,
37
  allow_screenshot=False,
38
  examples=examples
39
- ).launch(debug=True)
 
25
  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"
26
  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>"
27
 
28
+ examples = [['low-light.png', 'LOL']]
29
  gr.Interface(
30
  inference,
31
  [gr.inputs.Image(type="pil", label="Input"), gr.inputs.Dropdown(choices=['LOL', 'MIT-5K'], type="value", default='LOL', label="model")],
 
36
  allow_flagging=False,
37
  allow_screenshot=False,
38
  examples=examples
39
+ ).launch(debug=True, cache_examples=True)