Streamlit - How to render PDF file (Blocked by Chrome)
I’m struggling to render PDF file using Streamlit, in Spaces. I also tried a solution using iframe as suggested onRendering PDF on UI - 🎈 Using Streamlit - StreamlitBut somehow, the iframe is being blocked by Chrome (I’d say most used browser by users). Below is the code I’m using.original_display = f'<iframe src="data:application/pdf;base64,{original_pdf}" width = "100%" height = 600 type="application/pdf" download="original.pdf"></iframe>'

st.markdown(original_display, unsafe_allow_html=True)Also, the link to the space having this issue -Fastify Reader - a Hugging Face Space by akarshrajsingh7Render issue Screenshot -Screenshot 2024-02-25 at 11.33.27 AM3430×1720 250 KBAny help would be really appreciated! Thanks