Hammad712 commited on
Commit
7ec7952
1 Parent(s): c6d6c26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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='Sketch Image', use_column_width=True)
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 Sketch Image",
170
  data=img_byte_arr,
171
- file_name="sketch_image.jpg",
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