Push Bot commited on
Commit
ae8e06a
·
1 Parent(s): 37fbb4a

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
@@ -3192,7 +3192,8 @@ def debug_compile_output_zip():
3192
  if not zip_path.exists():
3193
  return (
3194
  "<div style='color:#b00'><b>output.zip not found at repo root.</b></div>"
3195
- + f"<div>Expected at: {zip_path}</div>"
 
3196
  )
3197
 
3198
  # Prepare workspace
 
3192
  if not zip_path.exists():
3193
  return (
3194
  "<div style='color:#b00'><b>output.zip not found at repo root.</b></div>"
3195
+ + f"<div>Expected at: {zip_path}</div>",
3196
+ None,
3197
  )
3198
 
3199
  # Prepare workspace