vishnun commited on
Commit
e39e70a
1 Parent(s): 6cbbf02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def colorify(pixels):
17
  gen_image = gen_model.predict(pixels)
18
  gen_image = (gen_image + 1) / 1.5
19
 
20
- return Image.fromarray((gen_image[0] * 255).astype(np.uint8))
21
 
22
  title = "Colorify"
23
  description = "Recolor your images using this lite version of PIX2PIX GAN"
 
17
  gen_image = gen_model.predict(pixels)
18
  gen_image = (gen_image + 1) / 1.5
19
 
20
+ return Image.fromarray((gen_image[0] * 255).astype(np.uint16))
21
 
22
  title = "Colorify"
23
  description = "Recolor your images using this lite version of PIX2PIX GAN"