Push Bot commited on
Commit
1464bca
·
1 Parent(s): 134f55d

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
@@ -2211,7 +2211,8 @@ def debug_compile_output_zip():
2211
  if not zip_path.exists():
2212
  return (
2213
  "<div style='color:#b00'><b>output.zip not found at repo root.</b></div>"
2214
- + f"<div>Expected at: {zip_path}</div>"
 
2215
  )
2216
 
2217
  # Prepare workspace
 
2211
  if not zip_path.exists():
2212
  return (
2213
  "<div style='color:#b00'><b>output.zip not found at repo root.</b></div>"
2214
+ + f"<div>Expected at: {zip_path}</div>",
2215
+ None,
2216
  )
2217
 
2218
  # Prepare workspace