Ali2206 commited on
Commit
1e4e432
·
verified ·
1 Parent(s): 2f7b7e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -263,8 +263,8 @@ def generate_pdf_report_with_charts(summary: str, report_path: str, detailed_bat
263
  pdf.ln(5)
264
  for idx, detail in enumerate(detailed_batches):
265
  pdf.multi_cell(0, 10, txt=f"Tool Result #{idx + 1}", align="L")
266
- for line in remove_non_ascii(detail).split("
267
- "):
268
  pdf.multi_cell(0, 10, txt=line)
269
  pdf.ln(5)
270
  pdf.output(pdf_path)
 
263
  pdf.ln(5)
264
  for idx, detail in enumerate(detailed_batches):
265
  pdf.multi_cell(0, 10, txt=f"Tool Result #{idx + 1}", align="L")
266
+ for line in remove_non_ascii(detail).split("\n"):
267
+
268
  pdf.multi_cell(0, 10, txt=line)
269
  pdf.ln(5)
270
  pdf.output(pdf_path)