Spaces:
Build error
Build error
osanseviero
commited on
Commit
·
02ad0aa
1
Parent(s):
431240c
Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ if st.sidebar.button("Colorize image"):
|
|
89 |
file_bytes = np.asarray(bytearray(file.read()), dtype=np.uint8)
|
90 |
opencv_image = cv2.imdecode(file_bytes, 1)
|
91 |
im=colorize(opencv_image)
|
|
|
92 |
st.image(file)
|
93 |
-
st.text("Original!!")
|
94 |
-
st.image(im)
|
95 |
st.text("Colorized!!")
|
|
|
|
89 |
file_bytes = np.asarray(bytearray(file.read()), dtype=np.uint8)
|
90 |
opencv_image = cv2.imdecode(file_bytes, 1)
|
91 |
im=colorize(opencv_image)
|
92 |
+
st.text("Original")
|
93 |
st.image(file)
|
|
|
|
|
94 |
st.text("Colorized!!")
|
95 |
+
st.image(im)
|