Mpavan45 commited on
Commit
061a6a1
·
verified ·
1 Parent(s): d38e53e

Update Image Augmentation.py

Browse files
Files changed (1) hide show
  1. Image Augmentation.py +3 -1
Image Augmentation.py CHANGED
@@ -101,7 +101,9 @@ if uploaded_file:
101
  st.markdown("### Download Transformed Image:")
102
  download_format = st.radio("Select Download Format:", ["JPG", "PNG", "PDF"])
103
 
104
- if download_format == "JPG" or download_format == "PNG":
 
 
105
  st.markdown(download_image(transformed_image, download_format), unsafe_allow_html=True)
106
  elif download_format == "PDF":
107
  st.markdown(download_pdf(transformed_image), unsafe_allow_html=True)
 
101
  st.markdown("### Download Transformed Image:")
102
  download_format = st.radio("Select Download Format:", ["JPG", "PNG", "PDF"])
103
 
104
+ if download_format == "JPG":
105
+ st.markdown(download_image(transformed_image, download_format), unsafe_allow_html=True)
106
+ elif download_format == "PNG":
107
  st.markdown(download_image(transformed_image, download_format), unsafe_allow_html=True)
108
  elif download_format == "PDF":
109
  st.markdown(download_pdf(transformed_image), unsafe_allow_html=True)