St.button CSV deploying

this might work:
1-upload your csv file google drive. and make sure uploaded file can be reachable to everyone.

2- get the link of the uploaded file.
Sales_80.csv - Google Drive
3- and make download link. ----
https://drive.google.com/u/0/uc?id=18mHbRayNG22gZq6ABxok1To2cNZihyet&export=download

4-and you can use the download link as it is below

linko5= f'<a target="_blank" rel="noopener noreferrer" href="https://drive.google.com/u/0/uc? 
id=18mHbRayNG22gZq6ABxok1To2cNZihyet&export=download">Download Sales80_.csv.</a>'


st.markdown(linko5, unsafe_allow_html=True)
1 Like