Update app.py
Browse files
app.py
CHANGED
@@ -263,22 +263,20 @@ def main():
|
|
263 |
with col2:
|
264 |
if st.button("π Generate PDF Report", type="secondary", use_container_width=True):
|
265 |
with st.spinner("Generating PDF..."):
|
266 |
-
pdf_report = generate_pdf_report(
|
267 |
with open(pdf_report, "rb") as f:
|
268 |
st.download_button(
|
269 |
label="β¬οΈ Download Full Report",
|
270 |
data=f,
|
271 |
file_name="Requirement_Analysis_Report.pdf",
|
272 |
mime="application/pdf",
|
273 |
-
use_container_width=True,
|
274 |
-
type="primary"
|
275 |
)
|
276 |
|
277 |
# Footer
|
278 |
st.markdown("---")
|
279 |
st.markdown("""
|
280 |
<div style="text-align: center; color: #666; margin-top: 3rem;">
|
281 |
-
<p>AI-Powered Requirement Analysis System
|
282 |
<p>π Powered by Mistral AI & Groq β’ π οΈ Developed by Team Four</p>
|
283 |
</div>
|
284 |
""", unsafe_allow_html=True)
|
|
|
263 |
with col2:
|
264 |
if st.button("π Generate PDF Report", type="secondary", use_container_width=True):
|
265 |
with st.spinner("Generating PDF..."):
|
266 |
+
pdf_report = generate_pdf_report(results)
|
267 |
with open(pdf_report, "rb") as f:
|
268 |
st.download_button(
|
269 |
label="β¬οΈ Download Full Report",
|
270 |
data=f,
|
271 |
file_name="Requirement_Analysis_Report.pdf",
|
272 |
mime="application/pdf",
|
|
|
|
|
273 |
)
|
274 |
|
275 |
# Footer
|
276 |
st.markdown("---")
|
277 |
st.markdown("""
|
278 |
<div style="text-align: center; color: #666; margin-top: 3rem;">
|
279 |
+
<p>AI-Powered Requirement Analysis System</p>
|
280 |
<p>π Powered by Mistral AI & Groq β’ π οΈ Developed by Team Four</p>
|
281 |
</div>
|
282 |
""", unsafe_allow_html=True)
|