Update app.py
Browse files
app.py
CHANGED
@@ -186,7 +186,7 @@ if uploaded_file is not None:
|
|
186 |
st.markdown("")
|
187 |
# st.markdown("""<style>[data-baseweb="select"] {margin-top: 16px;}</style>""", unsafe_allow_html=True)
|
188 |
fname = uploaded_file.name.strip(".fits")
|
189 |
-
download = st.download_button(label="Download", data=res, file_name=f'{fname}_{int(scale*128)}.zip',
|
190 |
|
191 |
# Make two columns for plots
|
192 |
_, colA, colB, colC, _ = st.columns([bordersize,1,1,1,bordersize])
|
|
|
186 |
st.markdown("")
|
187 |
# st.markdown("""<style>[data-baseweb="select"] {margin-top: 16px;}</style>""", unsafe_allow_html=True)
|
188 |
fname = uploaded_file.name.strip(".fits")
|
189 |
+
download = st.download_button(label="Download", data=res, file_name=f'{fname}_{int(scale*128)}.zip', disabled=True, mime="application/octet-stream")
|
190 |
|
191 |
# Make two columns for plots
|
192 |
_, colA, colB, colC, _ = st.columns([bordersize,1,1,1,bordersize])
|