Spaces:
Running
Running
viveknarayan
commited on
Commit
•
4e1edfe
1
Parent(s):
a9bb5ec
Update app.py
Browse files
app.py
CHANGED
@@ -38,8 +38,8 @@ def infer(original_image):
|
|
38 |
|
39 |
colorized = (255 * colorized).astype("uint8")
|
40 |
|
41 |
-
cv2_imshow(image)
|
42 |
-
cv2_imshow(colorized)
|
43 |
color_coverted = cv2.cvtColor(colorized, cv2.COLOR_BGR2RGB)
|
44 |
colorized = Image.fromarray(color_coverted)
|
45 |
return colorized
|
|
|
38 |
|
39 |
colorized = (255 * colorized).astype("uint8")
|
40 |
|
41 |
+
#cv2_imshow(image)
|
42 |
+
#cv2_imshow(colorized)
|
43 |
color_coverted = cv2.cvtColor(colorized, cv2.COLOR_BGR2RGB)
|
44 |
colorized = Image.fromarray(color_coverted)
|
45 |
return colorized
|