Update app.py
Browse files
app.py
CHANGED
@@ -88,13 +88,14 @@ def generate_pdf_report(results):
|
|
88 |
pdf.set_font("Arial", 'B', 50)
|
89 |
pdf.set_text_color(230, 230, 230) # Light gray color for watermark
|
90 |
pdf.rotate(45) # Rotate the text for watermark effect
|
91 |
-
pdf.text(60, 150, "
|
92 |
pdf.rotate(0) # Reset rotation
|
93 |
|
|
|
94 |
# Add title and date/time
|
95 |
pdf.set_font("Arial", 'B', 16)
|
96 |
pdf.set_text_color(0, 0, 0) # Black color for title
|
97 |
-
pdf.cell(200, 10, txt="AI
|
98 |
pdf.set_font("Arial", size=12)
|
99 |
pdf.cell(200, 10, txt=f"Report Generated on: {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}", ln=True, align='C')
|
100 |
pdf.ln(10) # Add some space
|
|
|
88 |
pdf.set_font("Arial", 'B', 50)
|
89 |
pdf.set_text_color(230, 230, 230) # Light gray color for watermark
|
90 |
pdf.rotate(45) # Rotate the text for watermark effect
|
91 |
+
pdf.text(60, 150, "MSSE31 Student's Project")
|
92 |
pdf.rotate(0) # Reset rotation
|
93 |
|
94 |
+
|
95 |
# Add title and date/time
|
96 |
pdf.set_font("Arial", 'B', 16)
|
97 |
pdf.set_text_color(0, 0, 0) # Black color for title
|
98 |
+
pdf.cell(200, 10, txt="AI-Based Requirement Defect Detection Using Large Language Models (LLMs)s", ln=True, align='C')
|
99 |
pdf.set_font("Arial", size=12)
|
100 |
pdf.cell(200, 10, txt=f"Report Generated on: {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}", ln=True, align='C')
|
101 |
pdf.ln(10) # Add some space
|