Push Bot commited on
Commit
1a5f8f8
·
1 Parent(s): a25bc66

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 +1 -1
app.py CHANGED
@@ -1675,7 +1675,7 @@ def debug_compile_uploaded_zip(zip_file):
1675
  + _pdf_to_iframe_html(pdf_path, height="700px")
1676
  )
1677
  _write_logs(LOG_PATH, logs)
1678
- return html, str(pdf_path)
1679
  except Exception as e:
1680
  logs.append(f"⚠️ preview failed: {e}")
1681
  _write_logs(LOG_PATH, logs)
 
1675
  + _pdf_to_iframe_html(pdf_path, height="700px")
1676
  )
1677
  _write_logs(LOG_PATH, logs)
1678
+ return "", str(pdf_path)
1679
  except Exception as e:
1680
  logs.append(f"⚠️ preview failed: {e}")
1681
  _write_logs(LOG_PATH, logs)