Push Bot commited on
Commit
b02eab8
·
1 Parent(s): 0488d17

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
@@ -2496,7 +2496,8 @@ def debug_compile_output_zip():
2496
  if not zip_path.exists():
2497
  return (
2498
  "<div style='color:#b00'><b>output.zip not found at repo root.</b></div>"
2499
- + f"<div>Expected at: {zip_path}</div>"
 
2500
  )
2501
 
2502
  # Prepare workspace
 
2496
  if not zip_path.exists():
2497
  return (
2498
  "<div style='color:#b00'><b>output.zip not found at repo root.</b></div>"
2499
+ + f"<div>Expected at: {zip_path}</div>",
2500
+ None,
2501
  )
2502
 
2503
  # Prepare workspace