Plsek commited on
Commit
c5186ae
·
1 Parent(s): e9ef2e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -190,7 +190,7 @@ if uploaded_file is not None:
190
 
191
  cavs = decompose_cavity(y_pred)
192
 
193
- ccd = CCDData(y_pred, unit="adu", wcs=wcs)
194
  # ccd.write(f"predictions/predicted.fits", overwrite=True)
195
  image_decomposed = np.zeros((128,128))
196
  for i, cav in enumerate(cavs):
@@ -210,6 +210,7 @@ if uploaded_file is not None:
210
  # shutil.make_archive("predictions", 'zip', "predictions")
211
 
212
  with col6:
 
213
  # with open('predictions.zip', 'rb') as f:
214
  # res = f.read()
215
  # # st.markdown("""<style>[data-baseweb="select"] {margin-top: 16px;}</style>""", unsafe_allow_html=True)
 
190
 
191
  cavs = decompose_cavity(y_pred)
192
 
193
+ # ccd = CCDData(y_pred, unit="adu", wcs=wcs)
194
  # ccd.write(f"predictions/predicted.fits", overwrite=True)
195
  image_decomposed = np.zeros((128,128))
196
  for i, cav in enumerate(cavs):
 
210
  # shutil.make_archive("predictions", 'zip', "predictions")
211
 
212
  with col6:
213
+ ccd = CCDData(y_pred, unit="adu", wcs=wcs)
214
  # with open('predictions.zip', 'rb') as f:
215
  # res = f.read()
216
  # # st.markdown("""<style>[data-baseweb="select"] {margin-top: 16px;}</style>""", unsafe_allow_html=True)