nightfury commited on
Commit
2cea673
β€’
1 Parent(s): 3aacce3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -21,7 +21,7 @@ def interface(image, model: str = "eccv16"):
21
  return output_img
22
 
23
  title = "Image Colorization Using AI Models"
24
- description = r"""An automatic colorization functionality for Real-Time User-Guided Image Colorization with Learned Deep Priors,ECCV16 & SIGGRAPH 2017 Models!<br>
25
  Practically the algorithm is used to COLORIZE your **old BLACK & WHITE / GRAYSCALE photos**.<br>
26
  To use it, simply just upload the concerned image.<br>
27
  """
@@ -31,7 +31,7 @@ Given a grayscale photograph as input, this demo attacks the problem of hallucin
31
  </p>
32
  <img src="https://camo.githubusercontent.com/8f849fd53753e61659664d37849703d949209ec93957d1a2fd529be9772f7030/687474703a2f2f726963687a68616e672e6769746875622e696f2f636f6c6f72697a6174696f6e2f7265736f75726365732f696d616765732f746561736572342e6a7067" alt="Teaser Image" data-canonical-src="http://richzhang.github.io/colorization/resources/images/teaser4.jpg" style="max-width: 100%;">
33
  <p>
34
- <img class="round" style="height:275px" src="./resources/images/net_diagram.jpg">
35
  </p>
36
 
37
  <div class="footer">
@@ -51,10 +51,7 @@ Given a grayscale photograph as input, this demo attacks the problem of hallucin
51
  </p>
52
  <h3 class="mt-0 mb-2 h4">BSD 2-Clause "Simplified" License</h3>
53
  <p class="mb-0 color-fg-muted text-small pr-2">A permissive license that comes in two variants, the BSD 2-Clause and BSD 3-Clause. Both have very minute differences to the MIT license.</p>
54
- </div>
55
 
56
- <div class="d-flex px-3 col-md-6 flex-column flex-sm-row pb-sm-3">
57
- <div class="pb-3 col-sm-4 pt-md-2">
58
  <h4 class="mt-1 mb-2 h5">Permissions</h4>
59
  <ul class="list-style-none">
60
  <li class="text-small pl-3">
@@ -111,11 +108,9 @@ Given a grayscale photograph as input, this demo attacks the problem of hallucin
111
  </li>
112
  </ul>
113
  </div>
114
- </div>
115
  </div>. For the full list of restrictions please <a href="https://github.dev/richzhang/colorization/blob/master/LICENSE" target="_blank" style="text-decoration: underline;" target="_blank">read the license</a></p>
116
  </div>
117
- <a href="https://arxiv.org/abs/1603.08511"><img class="layered-paper-big" style="height:175px" src="./resources/images/paper_pdf_thumb.png"></a>
118
- [![GitHub Stars](https://img.shields.io/github/stars/richzhang/colorization?style=social)](https://github.com/richzhang/colorization)
119
 
120
  <br>
121
  <center><img src='https://visitor-badge.glitch.me/badge?page_id=dj_colorization_eccv16siggraph17' alt='visitor badge'></center>
 
21
  return output_img
22
 
23
  title = "Image Colorization Using AI Models"
24
+ description = r"""<center>An automatic colorization functionality for Real-Time User-Guided Image Colorization with Learned Deep Priors,ECCV16 & SIGGRAPH 2017 Models!<br>
25
  Practically the algorithm is used to COLORIZE your **old BLACK & WHITE / GRAYSCALE photos**.<br>
26
  To use it, simply just upload the concerned image.<br>
27
  """
 
31
  </p>
32
  <img src="https://camo.githubusercontent.com/8f849fd53753e61659664d37849703d949209ec93957d1a2fd529be9772f7030/687474703a2f2f726963687a68616e672e6769746875622e696f2f636f6c6f72697a6174696f6e2f7265736f75726365732f696d616765732f746561736572342e6a7067" alt="Teaser Image" data-canonical-src="http://richzhang.github.io/colorization/resources/images/teaser4.jpg" style="max-width: 100%;">
33
  <p>
34
+ <img class="round" style="height:275px" src="http://richzhang.github.io/colorization/resources/images/net_diagram.jpg">
35
  </p>
36
 
37
  <div class="footer">
 
51
  </p>
52
  <h3 class="mt-0 mb-2 h4">BSD 2-Clause "Simplified" License</h3>
53
  <p class="mb-0 color-fg-muted text-small pr-2">A permissive license that comes in two variants, the BSD 2-Clause and BSD 3-Clause. Both have very minute differences to the MIT license.</p>
 
54
 
 
 
55
  <h4 class="mt-1 mb-2 h5">Permissions</h4>
56
  <ul class="list-style-none">
57
  <li class="text-small pl-3">
 
108
  </li>
109
  </ul>
110
  </div>
111
+
112
  </div>. For the full list of restrictions please <a href="https://github.dev/richzhang/colorization/blob/master/LICENSE" target="_blank" style="text-decoration: underline;" target="_blank">read the license</a></p>
113
  </div>
 
 
114
 
115
  <br>
116
  <center><img src='https://visitor-badge.glitch.me/badge?page_id=dj_colorization_eccv16siggraph17' alt='visitor badge'></center>