Push Bot commited on
Commit
05756ea
·
1 Parent(s): 2403576

Debug: add image preview (first page) with PyMuPDF/pdfium; return PDF path from debug flows; chain .then to render image

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2558,7 +2558,8 @@ def debug_compile_output_zip():
2558
  if not zip_path.exists():
2559
  return (
2560
  "<div style='color:#b00'><b>output.zip not found at repo root.</b></div>"
2561
- + f"<div>Expected at: {zip_path}</div>"
 
2562
  )
2563
 
2564
  # Prepare workspace
 
2558
  if not zip_path.exists():
2559
  return (
2560
  "<div style='color:#b00'><b>output.zip not found at repo root.</b></div>"
2561
+ + f"<div>Expected at: {zip_path}</div>",
2562
+ None,
2563
  )
2564
 
2565
  # Prepare workspace