analist commited on
Commit
4c79488
1 Parent(s): 9c8e750

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -30,7 +30,9 @@ with col1:
30
 
31
  st.subheader('New image')
32
  st.image(img, caption=f'Upscaled {choice} times image')
33
- st.download_button(label="Download image", data=img, file_name="upscaled.png", mime="image/png")
 
 
34
 
35
  else:
36
  st.text('Not supported yet. Comeback soon for fun releases')
 
30
 
31
  st.subheader('New image')
32
  st.image(img, caption=f'Upscaled {choice} times image')
33
+
34
+ with open('./scaled_2x.png', 'rb') as f:
35
+ st.download_button(label="Download image", data=f, file_name="upscaled.png", mime="image/png")
36
 
37
  else:
38
  st.text('Not supported yet. Comeback soon for fun releases')