Outputting an HTML file and creating a download link?

Has anyone been able to create a download link or a link to a separate page from an outputted HTML file?

Hi @vnguyendc,

If you want to create a download link for the HTML file your code has generated you can use st.markdown and create an anchor tag with download attribute set to file name and href set to base64 of your html. Look into this thread, How to download file in streamlit its discussed how to make download links in streamlit here.