Update app.py
Browse files
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)
|