MISSAOUI commited on
Commit
2ede373
·
verified ·
1 Parent(s): 53d153d

Update app/utils/pdf_process.py

Browse files
Files changed (1) hide show
  1. app/utils/pdf_process.py +3 -0
app/utils/pdf_process.py CHANGED
@@ -237,6 +237,9 @@ def generate_pdf_report(disease_info, filename="report.pdf")->None:
237
  story.append(Paragraph(disease_info.get('Medical Recommendation', 'No medical recommendations available.'), styles['LeftColumn']))
238
  story.append(Paragraph("References", styles['SectionHeader']))
239
  story.append(Paragraph("1. Mayo Clinic Medical References", styles['Reference']))
 
 
 
240
 
241
  # Build the PDF
242
  doc.build(story)
 
237
  story.append(Paragraph(disease_info.get('Medical Recommendation', 'No medical recommendations available.'), styles['LeftColumn']))
238
  story.append(Paragraph("References", styles['SectionHeader']))
239
  story.append(Paragraph("1. Mayo Clinic Medical References", styles['Reference']))
240
+ story.append(Paragraph("2. MedlinePlus Medical References", styles['Reference']))
241
+ story.append(Paragraph("3. World Health Organization (WHO) References", styles['Reference']))
242
+
243
 
244
  # Build the PDF
245
  doc.build(story)