Spaces:
Runtime error
Runtime error
Update pages/04_Super_Resolution.py
Browse files
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=
|
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="⚠️")
|