Push Bot commited on
Commit
9b43571
·
1 Parent(s): 6666a32

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
@@ -1982,7 +1982,7 @@ def debug_compile_uploaded_zip(zip_file):
1982
  + _pdf_to_iframe_html(pdf_path, height="700px")
1983
  )
1984
  _write_logs(LOG_PATH, logs)
1985
- return html, str(pdf_path)
1986
  except Exception as e:
1987
  logs.append(f"⚠️ preview failed: {e}")
1988
  _write_logs(LOG_PATH, logs)
 
1982
  + _pdf_to_iframe_html(pdf_path, height="700px")
1983
  )
1984
  _write_logs(LOG_PATH, logs)
1985
+ return "", str(pdf_path)
1986
  except Exception as e:
1987
  logs.append(f"⚠️ preview failed: {e}")
1988
  _write_logs(LOG_PATH, logs)