Plsek commited on
Commit
1a8a2fd
·
1 Parent(s): 12eb46b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -141,7 +141,7 @@ def decompose_cavity(pred, th2=0.7, amin=6):
141
 
142
  return image_decomposed
143
 
144
- @st.cache_data
145
  def load_file(fname):
146
  with fits.open(fname) as hdul:
147
  data = hdul[0].data
 
141
 
142
  return image_decomposed
143
 
144
+ @st.cache
145
  def load_file(fname):
146
  with fits.open(fname) as hdul:
147
  data = hdul[0].data