Push Bot commited on
Commit
b4f9679
·
1 Parent(s): db31cfe

Preview-only image: hide all PDF HTML previews; debug flows return only PDF path; pipeline stops building PDF HTML

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1069,7 +1069,7 @@ def debug_compile_last_pipeline_zip():
1069
  + _pdf_to_iframe_html(pdf_path, height="700px")
1070
  )
1071
  _write_logs(LOG_PATH, logs)
1072
- return html, str(pdf_path)
1073
  except Exception as e:
1074
  logs.append(f"⚠️ preview failed: {e}")
1075
  _write_logs(LOG_PATH, logs)
@@ -1402,7 +1402,7 @@ def debug_compile_last_pipeline_zip():
1402
  + _pdf_to_iframe_html(pdf_path, height="700px")
1403
  )
1404
  _write_logs(LOG_PATH, logs)
1405
- return html, str(pdf_path)
1406
  except Exception as e:
1407
  logs.append(f"⚠️ preview failed: {e}")
1408
  _write_logs(LOG_PATH, logs)
 
1069
  + _pdf_to_iframe_html(pdf_path, height="700px")
1070
  )
1071
  _write_logs(LOG_PATH, logs)
1072
+ return "", str(pdf_path)
1073
  except Exception as e:
1074
  logs.append(f"⚠️ preview failed: {e}")
1075
  _write_logs(LOG_PATH, logs)
 
1402
  + _pdf_to_iframe_html(pdf_path, height="700px")
1403
  )
1404
  _write_logs(LOG_PATH, logs)
1405
+ return "", str(pdf_path)
1406
  except Exception as e:
1407
  logs.append(f"⚠️ preview failed: {e}")
1408
  _write_logs(LOG_PATH, logs)