Spaces:
Runtime error
Runtime error
Wazzzabeee
commited on
Commit
•
ff7439f
1
Parent(s):
95b6b9e
Update pages/03_🖼️_Input_Images.py
Browse files
pages/03_🖼️_Input_Images.py
CHANGED
@@ -68,12 +68,12 @@ def main():
|
|
68 |
with col2:
|
69 |
with st.spinner("Colorizing image..."):
|
70 |
out_img, new_img = colorize_image(file, loaded_model)
|
71 |
-
new_img.save("IMG_" + str(i) + ".jpg")
|
72 |
st.image(out_img, use_column_width="always")
|
73 |
|
74 |
else:
|
75 |
out_img, new_img = colorize_image(file, loaded_model)
|
76 |
-
new_img.save("IMG_" + str(i
|
77 |
|
78 |
if len(uploaded_file) > 1:
|
79 |
# Create a zip file
|
|
|
68 |
with col2:
|
69 |
with st.spinner("Colorizing image..."):
|
70 |
out_img, new_img = colorize_image(file, loaded_model)
|
71 |
+
new_img.save("IMG_" + str(i+1) + ".jpg")
|
72 |
st.image(out_img, use_column_width="always")
|
73 |
|
74 |
else:
|
75 |
out_img, new_img = colorize_image(file, loaded_model)
|
76 |
+
new_img.save("IMG_" + str(i+1) + ".jpg")
|
77 |
|
78 |
if len(uploaded_file) > 1:
|
79 |
# Create a zip file
|