Plsek commited on
Commit
d0ce4b5
·
1 Parent(s): 3ba01a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -156,16 +156,16 @@ with col_1:
156
  uploaded_file = st.file_uploader("Choose a FITS file", type=['fits'])
157
 
158
  with col_2:
159
- st.markdown("## Examples")
160
  NGC4649 = st.button("NGC4649")
161
 
162
  with col_3:
163
- st.markdown("## ")
164
  NGC5813 = st.button("NGC5813")
165
 
166
- if NGC4649: uploaded_file = "NGC4649_example.fits"
167
- elif NGC5813: uploaded_file = "NGC5813_example.fits"
168
-
169
  # If file is uploaded, read in the data and plot it
170
  if uploaded_file is not None:
171
  with fits.open(uploaded_file) as hdul:
 
156
  uploaded_file = st.file_uploader("Choose a FITS file", type=['fits'])
157
 
158
  with col_2:
159
+ st.markdown("### Examples")
160
  NGC4649 = st.button("NGC4649")
161
 
162
  with col_3:
163
+ st.markdown("<br>", unsafe_allow_html=True)
164
  NGC5813 = st.button("NGC5813")
165
 
166
+ # if NGC4649: uploaded_file = "NGC4649_example.fits"
167
+ # elif NGC5813: uploaded_file = "NGC5813_example.fits"
168
+
169
  # If file is uploaded, read in the data and plot it
170
  if uploaded_file is not None:
171
  with fits.open(uploaded_file) as hdul: