Push Bot commited on
Commit
2403576
·
1 Parent(s): 294e2ce

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
@@ -3158,7 +3158,7 @@ def debug_compile_uploaded_zip(zip_file):
3158
  + _pdf_to_iframe_html(pdf_path, height="700px")
3159
  )
3160
  _write_logs(LOG_PATH, logs)
3161
- return html, str(pdf_path)
3162
  except Exception as e:
3163
  logs.append(f"⚠️ preview failed: {e}")
3164
  _write_logs(LOG_PATH, logs)
 
3158
  + _pdf_to_iframe_html(pdf_path, height="700px")
3159
  )
3160
  _write_logs(LOG_PATH, logs)
3161
+ return "", str(pdf_path)
3162
  except Exception as e:
3163
  logs.append(f"⚠️ preview failed: {e}")
3164
  _write_logs(LOG_PATH, logs)