Cany-Tam commited on
Commit
0500e4d
·
1 Parent(s): 750dfd6

Update pages/04_Super_Resolution.py

Browse files
Files changed (1) hide show
  1. pages/04_Super_Resolution.py +2 -2
pages/04_Super_Resolution.py CHANGED
@@ -249,11 +249,11 @@ if restore:
249
  #im = Image.fromarray(output)
250
  #im.save("Image.jpg")
251
  with col2:
252
- st.image(output, 'Restored Image')
253
  st.download_button(
254
  label="Download Image",
255
  data=open(output, "rb"),
256
- file_name="Image.jpg"
257
  )
258
  else:
259
  st.warning('Upload a file', icon="⚠️")
 
249
  #im = Image.fromarray(output)
250
  #im.save("Image.jpg")
251
  with col2:
252
+ st.image(output, f'Restored Image - {output}')
253
  st.download_button(
254
  label="Download Image",
255
  data=open(output, "rb"),
256
+ file_name=output
257
  )
258
  else:
259
  st.warning('Upload a file', icon="⚠️")