Spaces:
Running
Running
Push Bot
commited on
Commit
·
9e802b7
1
Parent(s):
0c6109e
Preview-only image: hide all PDF HTML previews; debug flows return only PDF path; pipeline stops building PDF HTML
Browse files
app.py
CHANGED
|
@@ -1162,7 +1162,7 @@ def debug_compile_output_zip():
|
|
| 1162 |
+ _pdf_to_iframe_html(pdf_path, height="700px")
|
| 1163 |
)
|
| 1164 |
_write_logs(LOG_PATH, logs)
|
| 1165 |
-
return
|
| 1166 |
except Exception as e:
|
| 1167 |
logs.append(f"⚠️ preview failed: {e}")
|
| 1168 |
_write_logs(LOG_PATH, logs)
|
|
|
|
| 1162 |
+ _pdf_to_iframe_html(pdf_path, height="700px")
|
| 1163 |
)
|
| 1164 |
_write_logs(LOG_PATH, logs)
|
| 1165 |
+
return "", str(pdf_path)
|
| 1166 |
except Exception as e:
|
| 1167 |
logs.append(f"⚠️ preview failed: {e}")
|
| 1168 |
_write_logs(LOG_PATH, logs)
|