Closed lfoppiano closed 4 days ago
this would be really really useful!
Hi @samuelrhjoseph, I'm afraid that this functionality in the pdf_viewer cannot be implemented because streamlit reloads the page at each interaction causing the pdf_viewer to reload and to try to download the file. This functionality should be implemented in the streamlit application which can cache the document and avoid unnecessary computation and downloads.
Supplying an URL http/https should download the file and show it