Seetha commited on
Commit
0d5f832
·
1 Parent(s): b5457c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -53,12 +53,8 @@ if st.button('PDF1'):
53
  base64_pdf = base64.b64encode(f.read()).decode('utf-8')
54
  pdf_display = f'<iframe src="data:application/pdf;base64,{base64_pdf}" width="800" height="800" type="application/pdf"></iframe>'
55
  st.markdown(pdf_display, unsafe_allow_html=True)
56
- f'<iframe
57
- src="https://seetha-aflac-wyat.hf.space"
58
- frameborder="0"
59
- width="850"
60
- height="450"
61
- ></iframe>'
62
  # data = urllib.request.urlopen(target_url)
63
  # for line in data.read():
64
  # st.write(line)
 
53
  base64_pdf = base64.b64encode(f.read()).decode('utf-8')
54
  pdf_display = f'<iframe src="data:application/pdf;base64,{base64_pdf}" width="800" height="800" type="application/pdf"></iframe>'
55
  st.markdown(pdf_display, unsafe_allow_html=True)
56
+ visual_display = f'<iframe src="https://seetha-aflac-wyat.hf.space" frameborder="0" width="850" height="450"></iframe>'
57
+ st.markdown(visual_display, unsafe_allow_html=True)
 
 
 
 
58
  # data = urllib.request.urlopen(target_url)
59
  # for line in data.read():
60
  # st.write(line)