Push Bot commited on
Commit
4c88fdc
·
1 Parent(s): 5eac1a0

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
@@ -3475,7 +3475,7 @@ def debug_compile_uploaded_zip(zip_file):
3475
  + _pdf_to_iframe_html(pdf_path, height="700px")
3476
  )
3477
  _write_logs(LOG_PATH, logs)
3478
- return html, str(pdf_path)
3479
  except Exception as e:
3480
  logs.append(f"⚠️ preview failed: {e}")
3481
  _write_logs(LOG_PATH, logs)
 
3475
  + _pdf_to_iframe_html(pdf_path, height="700px")
3476
  )
3477
  _write_logs(LOG_PATH, logs)
3478
+ return "", str(pdf_path)
3479
  except Exception as e:
3480
  logs.append(f"⚠️ preview failed: {e}")
3481
  _write_logs(LOG_PATH, logs)