Update app.py
Browse files
app.py
CHANGED
@@ -66,6 +66,7 @@ def generate_pdf_report(image, results_dict, summary_text):
|
|
66 |
clean = line.split("</li>")[0].strip()
|
67 |
pdf.multi_cell(0, 8, f"- {clean}")
|
68 |
|
|
|
69 |
output_path = "/mnt/data/SL_Diagnostics_Face_Scan_Report.pdf"
|
70 |
pdf.output(output_path)
|
71 |
return output_path
|
|
|
66 |
clean = line.split("</li>")[0].strip()
|
67 |
pdf.multi_cell(0, 8, f"- {clean}")
|
68 |
|
69 |
+
os.makedirs("/mnt/data", exist_ok=True)
|
70 |
output_path = "/mnt/data/SL_Diagnostics_Face_Scan_Report.pdf"
|
71 |
pdf.output(output_path)
|
72 |
return output_path
|