Update app.py
Browse files
app.py
CHANGED
|
@@ -74,11 +74,9 @@ if button and pdfURL:
|
|
| 74 |
st.text_area("Extracted Text", text, height=300)
|
| 75 |
|
| 76 |
st.subheader("HTML Content")
|
| 77 |
-
st.
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
mime="text/html"
|
| 82 |
-
)
|
| 83 |
with st.expander("View HTML Source"):
|
| 84 |
st.code(html, language='html')
|
|
|
|
| 74 |
st.text_area("Extracted Text", text, height=300)
|
| 75 |
|
| 76 |
st.subheader("HTML Content")
|
| 77 |
+
st.write("Rendered HTML Preview:")
|
| 78 |
+
import streamlit.components.v1 as components
|
| 79 |
+
components.html(html, height=600, scrolling=True)
|
| 80 |
+
|
|
|
|
|
|
|
| 81 |
with st.expander("View HTML Source"):
|
| 82 |
st.code(html, language='html')
|