Update app.py
Browse files
app.py
CHANGED
@@ -192,7 +192,7 @@ with col_1:
|
|
192 |
uploaded_file = st.file_uploader("Choose a FITS file", type=['fits'], on_change=reset_threshold)
|
193 |
|
194 |
with col_2:
|
195 |
-
st.markdown("<br style='margin:
|
196 |
example = st.button("Example")
|
197 |
|
198 |
# with col_2:
|
@@ -250,7 +250,7 @@ with col5: decompose = st.button('Decompose', key="decompose")
|
|
250 |
# Make two columns for plots
|
251 |
_, colA, colB, colC, _ = st.columns([bordersize,1,1,1,bordersize])
|
252 |
|
253 |
-
if not (data == np.zeros((128,128)))
|
254 |
# NORMALIZE IMAGE
|
255 |
MIN = np.min(np.where(data == 0, 1, data))
|
256 |
if MIN < 1: data = data / MIN
|
|
|
192 |
uploaded_file = st.file_uploader("Choose a FITS file", type=['fits'], on_change=reset_threshold)
|
193 |
|
194 |
with col_2:
|
195 |
+
st.markdown("<br style='margin:15px 0'>", unsafe_allow_html=True)
|
196 |
example = st.button("Example")
|
197 |
|
198 |
# with col_2:
|
|
|
250 |
# Make two columns for plots
|
251 |
_, colA, colB, colC, _ = st.columns([bordersize,1,1,1,bordersize])
|
252 |
|
253 |
+
if not (data == np.zeros((128,128))):
|
254 |
# NORMALIZE IMAGE
|
255 |
MIN = np.min(np.where(data == 0, 1, data))
|
256 |
if MIN < 1: data = data / MIN
|