Plsek commited on
Commit
d782875
·
1 Parent(s): c182390

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -189,7 +189,7 @@ with col:
189
 
190
  if uploaded_file is not None:
191
  # data, wcs = load_file(uploaded_file)
192
- with fits.open(fname) as hdul:
193
  data = hdul[0].data
194
  wcs = WCS(hdul[0].header)
195
 
 
189
 
190
  if uploaded_file is not None:
191
  # data, wcs = load_file(uploaded_file)
192
+ with fits.open(uploaded_file) as hdul:
193
  data = hdul[0].data
194
  wcs = WCS(hdul[0].header)
195