Push Bot commited on
Commit
37fbb4a
·
1 Parent(s): abd9e71

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
@@ -3792,7 +3792,7 @@ def debug_compile_uploaded_zip(zip_file):
3792
  + _pdf_to_iframe_html(pdf_path, height="700px")
3793
  )
3794
  _write_logs(LOG_PATH, logs)
3795
- return html, str(pdf_path)
3796
  except Exception as e:
3797
  logs.append(f"⚠️ preview failed: {e}")
3798
  _write_logs(LOG_PATH, logs)
 
3792
  + _pdf_to_iframe_html(pdf_path, height="700px")
3793
  )
3794
  _write_logs(LOG_PATH, logs)
3795
+ return "", str(pdf_path)
3796
  except Exception as e:
3797
  logs.append(f"⚠️ preview failed: {e}")
3798
  _write_logs(LOG_PATH, logs)