Spaces:
Building
Building
Update app.py
Browse files
app.py
CHANGED
@@ -244,9 +244,9 @@ with column2:
|
|
244 |
st.rerun() # st.rerun()
|
245 |
|
246 |
img_selection.save("image.png")
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
else:
|
251 |
|
252 |
st.header("This section will store the updated images")
|
|
|
244 |
st.rerun() # st.rerun()
|
245 |
|
246 |
img_selection.save("image.png")
|
247 |
+
with open("image.png", "rb") as file:
|
248 |
+
downl=st.download_button(label="DOWNLOAD",data=file,file_name="image.png",mime="image/png")
|
249 |
+
os.remove("image.png")
|
250 |
else:
|
251 |
|
252 |
st.header("This section will store the updated images")
|