Spaces:
Running
Running
Update Image Augmentation.py
Browse files- 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"
|
|
|
|
|
|
|
| 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)
|