Push Bot commited on
Commit
116b5ff
·
1 Parent(s): 345d655

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
@@ -2148,7 +2148,7 @@ def debug_compile_uploaded_zip(zip_file):
2148
  + _pdf_to_iframe_html(pdf_path, height="700px")
2149
  )
2150
  _write_logs(LOG_PATH, logs)
2151
- return html, str(pdf_path)
2152
  except Exception as e:
2153
  logs.append(f"⚠️ preview failed: {e}")
2154
  _write_logs(LOG_PATH, logs)
 
2148
  + _pdf_to_iframe_html(pdf_path, height="700px")
2149
  )
2150
  _write_logs(LOG_PATH, logs)
2151
+ return "", str(pdf_path)
2152
  except Exception as e:
2153
  logs.append(f"⚠️ preview failed: {e}")
2154
  _write_logs(LOG_PATH, logs)