Plsek commited on
Commit
60d64ba
·
1 Parent(s): 393d78f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -226,9 +226,9 @@ if uploaded_file is not None:
226
  except: image_decomposed = np.zeros((128,128))
227
  plot_decomposed(image_decomposed)
228
 
229
- with col6:
230
- shutil.make_archive("predictions", 'zip', "predictions")
231
- with open('predictions.zip', 'rb') as f:
232
- res = f.read()
233
- st.markdown("""<style>[data-baseweb="select"] {margin-top: 16px;}</style>""", unsafe_allow_html=True)
234
- download = st.download_button(label="Download", data=res, file_name='prediction.zip', mime="application/octet-stream")
 
226
  except: image_decomposed = np.zeros((128,128))
227
  plot_decomposed(image_decomposed)
228
 
229
+ with col6:
230
+ shutil.make_archive("predictions", 'zip', "predictions")
231
+ with open('predictions.zip', 'rb') as f:
232
+ res = f.read()
233
+ # st.markdown("""<style>[data-baseweb="select"] {margin-top: 16px;}</style>""", unsafe_allow_html=True)
234
+ download = st.download_button(label="Download", data=res, file_name='prediction.zip', mime="application/octet-stream")