Plsek commited on
Commit
c79b72c
·
1 Parent(s): b95ef96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -213,7 +213,8 @@ if uploaded_file is not None:
213
  data, wcs = load_file(uploaded_file)
214
  os.system(f'mkdir -p {uploaded_file.name.strip(".fits")}')
215
 
216
- if example is not None:
 
217
  data, wcs = load_file("NGC4649_example.fits")
218
 
219
  if "data" not in locals():
 
213
  data, wcs = load_file(uploaded_file)
214
  os.system(f'mkdir -p {uploaded_file.name.strip(".fits")}')
215
 
216
+ if example:
217
+ uploaded_file.name = "NGC4649_example.fits"
218
  data, wcs = load_file("NGC4649_example.fits")
219
 
220
  if "data" not in locals():