Spaces:
Runtime error
Runtime error
Fix header
Browse files
app.py
CHANGED
@@ -94,10 +94,8 @@ if st.button('Summarize pdf content'):
|
|
94 |
|
95 |
st.markdown(f'''
|
96 |
<div style="background-color: black; color: white; font-weight: bold; padding: 1rem; border-radius: 10px;">
|
97 |
-
|
98 |
-
<p>
|
99 |
-
{pdf_summary}
|
100 |
-
</p>
|
101 |
</div>
|
102 |
''', unsafe_allow_html=True)
|
103 |
# st.write('Download summary pdf here')
|
@@ -105,12 +103,8 @@ if st.button('Summarize pdf content'):
|
|
105 |
st.success('PDF page summarized :)', icon="✅")
|
106 |
|
107 |
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
st.write('')
|
113 |
st.write('')
|
|
|
114 |
|
115 |
|
116 |
st.markdown("<hr style='border: 1px dashed #ddd; margin: 2rem;'>", unsafe_allow_html=True) #Horizontal line
|
|
|
94 |
|
95 |
st.markdown(f'''
|
96 |
<div style="background-color: black; color: white; font-weight: bold; padding: 1rem; border-radius: 10px;">
|
97 |
+
<h4>Summary</h4>
|
98 |
+
<p>{pdf_summary}</p>
|
|
|
|
|
99 |
</div>
|
100 |
''', unsafe_allow_html=True)
|
101 |
# st.write('Download summary pdf here')
|
|
|
103 |
st.success('PDF page summarized :)', icon="✅")
|
104 |
|
105 |
|
|
|
|
|
|
|
|
|
|
|
106 |
st.write('')
|
107 |
+
st.write(''
|
108 |
|
109 |
|
110 |
st.markdown("<hr style='border: 1px dashed #ddd; margin: 2rem;'>", unsafe_allow_html=True) #Horizontal line
|