Ashrafb commited on
Commit
6f55427
·
1 Parent(s): d444db7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -21,9 +21,9 @@ def inference(img, model):
21
  return 'result/1.png'
22
 
23
 
24
- 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. We present 2 pretrained models, which is trained on LOL and MIT-Adobe FiveK dataset, respectively. The images in LOL dataset are darker than MIT-Adobe FiveK, so if you have the extremely dark images you could consider it. On the contrary, the MIT-Adobe FiveK's model is suitable for minor adjustment of the images' hue."
26
- article = "<p style='text-align: center'><a href='https://ieeexplore.ieee.org/document/9897503' 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> <center><img src='https://visitor-badge.glitch.me/badge?page_id=52Hz_HWMNet_lowlight_enhancement' alt='visitor badge'></center>"
27
 
28
  examples = [['low-light.png', 'LOL'], ['low-light_2.png', 'MIT-5K']]
29
  gr.Interface(
@@ -33,6 +33,7 @@ gr.Interface(
33
  title=title,
34
  description=description,
35
  article=article,
 
36
  allow_flagging=False,
37
  allow_screenshot=False,
38
  examples=examples
 
21
  return 'result/1.png'
22
 
23
 
24
+ title = "<span style='color: #191970;'>Aiconvert.online</span>"
25
+ description = ""
26
+ article = ""
27
 
28
  examples = [['low-light.png', 'LOL'], ['low-light_2.png', 'MIT-5K']]
29
  gr.Interface(
 
33
  title=title,
34
  description=description,
35
  article=article,
36
+ css=".gradio-container {background-color: #FFE4C4}",
37
  allow_flagging=False,
38
  allow_screenshot=False,
39
  examples=examples