Update app.py
Browse files
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="
|
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 |
-
|
|
|
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')
|