Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ with col1:
|
|
54 |
if st.button('AFLAC_Wyatt'):
|
55 |
with open(file_path,"rb") as f:
|
56 |
base64_pdf = base64.b64encode(f.read()).decode('utf-8')
|
57 |
-
pdf_display = f'<
|
58 |
st.markdown(pdf_display, unsafe_allow_html=True)
|
59 |
visual_display = f'<iframe src="https://seetha-aflac-wyat.hf.space" frameborder="0" width="1000" height="500"></iframe>'
|
60 |
st.markdown(visual_display, unsafe_allow_html=True)
|
|
|
54 |
if st.button('AFLAC_Wyatt'):
|
55 |
with open(file_path,"rb") as f:
|
56 |
base64_pdf = base64.b64encode(f.read()).decode('utf-8')
|
57 |
+
pdf_display = f'<iframe src="data:application/pdf;base64,{base64_pdf}" width="800" height="800" type="application/pdf"></iframe>'
|
58 |
st.markdown(pdf_display, unsafe_allow_html=True)
|
59 |
visual_display = f'<iframe src="https://seetha-aflac-wyat.hf.space" frameborder="0" width="1000" height="500"></iframe>'
|
60 |
st.markdown(visual_display, unsafe_allow_html=True)
|