Spaces:
Running
Running
Push Bot
commited on
Commit
·
289fc20
1
Parent(s):
331aeb2
Preview-only image: hide all PDF HTML previews; debug flows return only PDF path; pipeline stops building PDF HTML
Browse files
app.py
CHANGED
|
@@ -1168,7 +1168,7 @@ def debug_compile_output_zip():
|
|
| 1168 |
+ _pdf_to_iframe_html(pdf_path, height="700px")
|
| 1169 |
)
|
| 1170 |
_write_logs(LOG_PATH, logs)
|
| 1171 |
-
return
|
| 1172 |
except Exception as e:
|
| 1173 |
logs.append(f"⚠️ preview failed: {e}")
|
| 1174 |
_write_logs(LOG_PATH, logs)
|
|
|
|
| 1168 |
+ _pdf_to_iframe_html(pdf_path, height="700px")
|
| 1169 |
)
|
| 1170 |
_write_logs(LOG_PATH, logs)
|
| 1171 |
+
return "", str(pdf_path)
|
| 1172 |
except Exception as e:
|
| 1173 |
logs.append(f"⚠️ preview failed: {e}")
|
| 1174 |
_write_logs(LOG_PATH, logs)
|