Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -158,7 +158,7 @@ if st.button("Convert"):
|
|
158 |
with col1:
|
159 |
st.image(original_image, caption='Original Image', use_column_width=True)
|
160 |
with col2:
|
161 |
-
st.image(high_res_image, caption='
|
162 |
|
163 |
# Provide a download button for the generated image
|
164 |
img_byte_arr = BytesIO()
|
@@ -166,9 +166,9 @@ if st.button("Convert"):
|
|
166 |
img_byte_arr = img_byte_arr.getvalue()
|
167 |
|
168 |
st.download_button(
|
169 |
-
label="Download
|
170 |
data=img_byte_arr,
|
171 |
-
file_name="
|
172 |
mime="image/jpeg"
|
173 |
)
|
174 |
|
|
|
158 |
with col1:
|
159 |
st.image(original_image, caption='Original Image', use_column_width=True)
|
160 |
with col2:
|
161 |
+
st.image(high_res_image, caption='Drawing', use_column_width=True)
|
162 |
|
163 |
# Provide a download button for the generated image
|
164 |
img_byte_arr = BytesIO()
|
|
|
166 |
img_byte_arr = img_byte_arr.getvalue()
|
167 |
|
168 |
st.download_button(
|
169 |
+
label="Download Drawing",
|
170 |
data=img_byte_arr,
|
171 |
+
file_name="Drawing.jpg",
|
172 |
mime="image/jpeg"
|
173 |
)
|
174 |
|