Dear Streamlit Community!
For a chatbot that quotes the documents it uses for its answers, I would like to have the possibility to give the user a download link to the source documents. Therefore I have implemented a solution that uses st.download_button. This works, but is not a very user friendly solution. the source documents are exclusively pdfs. These, as well as the streamlit app, are located on GitHub.
Example of how it should look like:
Source: source1, source2 → as clickable links to the pdf instead of buttons
I’d be very happy for hints how to implement this.
Best,
Johanna
Dear Goyo!
Thanks a lot for your quick answer.
For some reason, this still does not work. The link is displayed as such, it downloads the resp. pdf when doing a right-click “open link in a new tab”, but not when clicking it directly.
Best,
Johanna