Update app.py
Browse files
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
|
|
|
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():
|