Update app.py
Browse files
app.py
CHANGED
@@ -182,7 +182,7 @@ with col:
|
|
182 |
st.markdown("<div style='border-radius:5px;padding-top:8px;padding-bottom:8px;padding-left:14px;padding-right:14px;line-height:140%;font-size:120%;background-color:#FFFFFF;'>\
|
183 |
Cavity Detection Tool <a href='https://github.com/tomasplsek/CADET'>(CADET)</a> is a machine learning pipeline trained to detect X-ray cavities from <em>Chandra</em> images of early-type galaxies, groups, and clusters. \
|
184 |
If you use this tool in your research, please cite <a href='https://arxiv.org/abs/2304.05457'>Plšek et al. 2023</a>.\
|
185 |
-
<br style='margin-bottom:
|
186 |
</div>", unsafe_allow_html=True)
|
187 |
|
188 |
# Input images should be FITS files in units of counts, centred at the galaxy center, and point sources should be filled with surrounding background \
|
@@ -195,7 +195,7 @@ with col_1:
|
|
195 |
uploaded_file = st.file_uploader("Choose a FITS file", type=['fits'], on_change=reset_all)
|
196 |
|
197 |
with col_2:
|
198 |
-
st.markdown("<br style='margin:
|
199 |
if st.button("Example"): st.session_state['example'] = True
|
200 |
|
201 |
# with col_2:
|
|
|
182 |
st.markdown("<div style='border-radius:5px;padding-top:8px;padding-bottom:8px;padding-left:14px;padding-right:14px;line-height:140%;font-size:120%;background-color:#FFFFFF;'>\
|
183 |
Cavity Detection Tool <a href='https://github.com/tomasplsek/CADET'>(CADET)</a> is a machine learning pipeline trained to detect X-ray cavities from <em>Chandra</em> images of early-type galaxies, groups, and clusters. \
|
184 |
If you use this tool in your research, please cite <a href='https://arxiv.org/abs/2304.05457'>Plšek et al. 2023</a>.\
|
185 |
+
<br style='margin-bottom: 13px'><b>1)</b> upload FITS file (cropped & centered at the center of the galaxy)<br><b>2)</b> select the scale of interest<br><b>3)</b> make a prediction<br><b>4)</b> decompose into individual cavities. \
|
186 |
</div>", unsafe_allow_html=True)
|
187 |
|
188 |
# Input images should be FITS files in units of counts, centred at the galaxy center, and point sources should be filled with surrounding background \
|
|
|
195 |
uploaded_file = st.file_uploader("Choose a FITS file", type=['fits'], on_change=reset_all)
|
196 |
|
197 |
with col_2:
|
198 |
+
st.markdown("<br style='margin:14.5px 0'>", unsafe_allow_html=True)
|
199 |
if st.button("Example"): st.session_state['example'] = True
|
200 |
|
201 |
# with col_2:
|