Update app.py
Browse files
app.py
CHANGED
@@ -193,7 +193,8 @@ with col_1:
|
|
193 |
|
194 |
with col_2:
|
195 |
st.markdown("<br style='margin:15px 0'>", unsafe_allow_html=True)
|
196 |
-
|
|
|
197 |
|
198 |
# with col_2:
|
199 |
# st.markdown("### Examples")
|
@@ -226,7 +227,6 @@ if st.session_state["example"]:
|
|
226 |
fname = "NGC4649_example"
|
227 |
os.system(f'mkdir -p {fname}')
|
228 |
data, wcs = load_file(f"{fname}.fits")
|
229 |
-
st.session_state['example'] = True
|
230 |
|
231 |
if "data" not in locals():
|
232 |
data, wcs = np.ones((128,128)) * (-1), None
|
|
|
193 |
|
194 |
with col_2:
|
195 |
st.markdown("<br style='margin:15px 0'>", unsafe_allow_html=True)
|
196 |
+
if st.button("Example"):
|
197 |
+
st.session_state['example'] = True
|
198 |
|
199 |
# with col_2:
|
200 |
# st.markdown("### Examples")
|
|
|
227 |
fname = "NGC4649_example"
|
228 |
os.system(f'mkdir -p {fname}')
|
229 |
data, wcs = load_file(f"{fname}.fits")
|
|
|
230 |
|
231 |
if "data" not in locals():
|
232 |
data, wcs = np.ones((128,128)) * (-1), None
|