Plsek commited on
Commit
395ece6
·
1 Parent(s): f7ed877

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -225,8 +225,8 @@ if st.session_state.get("example", True):
225
  data, wcs = load_file(f"{fname}.fits")
226
 
227
  if "data" not in locals():
228
- data = np.ones((128,128)) * (-1)
229
-
230
  # Make six columns for buttons
231
  _, col1, col2, col3, col4, col5, col6, _ = st.columns([bordersize,0.5,0.5,0.5,0.5,0.5,0.5,bordersize])
232
  col1.subheader("Input image")
 
225
  data, wcs = load_file(f"{fname}.fits")
226
 
227
  if "data" not in locals():
228
+ data, wcs = np.ones((128,128)) * (-1), None
229
+
230
  # Make six columns for buttons
231
  _, col1, col2, col3, col4, col5, col6, _ = st.columns([bordersize,0.5,0.5,0.5,0.5,0.5,0.5,bordersize])
232
  col1.subheader("Input image")