Seetha commited on
Commit
883808e
·
1 Parent(s): 06e17df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -53,7 +53,7 @@ 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
- visual_display = f'<iframe src="https://seetha-aflac-wyat.hf.space" frameborder="0" width="1200" height="500"></iframe>'
57
  st.markdown(visual_display, unsafe_allow_html=True)
58
  # data = urllib.request.urlopen(target_url)
59
  # for line in data.read():
@@ -67,5 +67,5 @@ if st.button('PDF1'):
67
  # else:
68
  # st.error("Please upload your own PDF to be analyzed")
69
  # st.stop()
70
- else:
71
- st.write('Goodbye')
 
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="1000" height="500"></iframe>'
57
  st.markdown(visual_display, unsafe_allow_html=True)
58
  # data = urllib.request.urlopen(target_url)
59
  # for line in data.read():
 
67
  # else:
68
  # st.error("Please upload your own PDF to be analyzed")
69
  # st.stop()
70
+ # else:
71
+ # st.write('Goodbye')