st.button supports type as primary or secondary. st.download_button does not. How to make download_button appear like button?
Streamlit version 1.25.0.
There’s a similar post asking a similar question on downloading files without using
st.download_button (Download file without download button).
A solution to the above post may be adapted to your use case:
Hope this helps!