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

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
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_data
145
  def load_file(fname):
146
  with fits.open(fname) as hdul:
147
  data = hdul[0].data