SuriRaja commited on
Commit
0ef4c62
·
verified ·
1 Parent(s): b7b4136

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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