danifei commited on
Commit
86e5f72
·
verified ·
1 Parent(s): da6c643

update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -55,18 +55,20 @@ def process_img(image):
55
  restored_img = (restored_img * 255.0).round().astype(np.uint8) # float32 to uint8
56
  return Image.fromarray(restored_img) #(image, Image.fromarray(restored_img))
57
 
58
- title = "Low-Light-Deblurring ✏️🖼️ 🤗"
59
  description = ''' ## [Low Light Image deblurring enhancement](https://github.com/cidautai/Net-Low-light-Deblurring)
60
 
61
  [Daniel Feijoo](https://github.com/danifei)
62
 
63
  Fundación Cidaut
64
 
 
 
65
 
66
  > **Disclaimer:** please remember this is not a product, thus, you will notice some limitations.
67
  **This demo expects an image with some degradations.**
68
- Due to the GPU memory limitations, the app might crash if you feed a high-resolution image (2K, 4K). <br>
69
- The model was trained using mostly synthetic data, thus it might not work great on real-world complex images.
70
 
71
  <br>
72
  '''
 
55
  restored_img = (restored_img * 255.0).round().astype(np.uint8) # float32 to uint8
56
  return Image.fromarray(restored_img) #(image, Image.fromarray(restored_img))
57
 
58
+ title = "Low-Light-Deblurring 🌚🌠🌝"
59
  description = ''' ## [Low Light Image deblurring enhancement](https://github.com/cidautai/Net-Low-light-Deblurring)
60
 
61
  [Daniel Feijoo](https://github.com/danifei)
62
 
63
  Fundación Cidaut
64
 
65
+ This model enhances low light images into normal light conditions ones. It was trained using LOLv2-real, LOLv2-synth and LOLBlur.
66
+ Due to the training on LOLBlur, this network is expected to also reconstruct blurred low light images.
67
 
68
  > **Disclaimer:** please remember this is not a product, thus, you will notice some limitations.
69
  **This demo expects an image with some degradations.**
70
+ Due to the CPU limitations, the model won't return results inmediately <br>.
71
+ Except for the LOLv2-real, the model was trained using mostly synthetic data, thus it might not work great on real-world complex images.
72
 
73
  <br>
74
  '''