Spaces:
Sleeping
Sleeping
Push Bot
commited on
Commit
·
d5f9fcb
1
Parent(s):
cbb1505
Preview-only image: hide all PDF HTML previews; debug flows return only PDF path; pipeline stops building PDF HTML
Browse files
app.py
CHANGED
|
@@ -1093,7 +1093,7 @@ def debug_compile_last_pipeline_zip():
|
|
| 1093 |
+ _pdf_to_iframe_html(pdf_path, height="700px")
|
| 1094 |
)
|
| 1095 |
_write_logs(LOG_PATH, logs)
|
| 1096 |
-
return
|
| 1097 |
except Exception as e:
|
| 1098 |
logs.append(f"⚠️ preview failed: {e}")
|
| 1099 |
_write_logs(LOG_PATH, logs)
|
|
@@ -1426,7 +1426,7 @@ def debug_compile_last_pipeline_zip():
|
|
| 1426 |
+ _pdf_to_iframe_html(pdf_path, height="700px")
|
| 1427 |
)
|
| 1428 |
_write_logs(LOG_PATH, logs)
|
| 1429 |
-
return
|
| 1430 |
except Exception as e:
|
| 1431 |
logs.append(f"⚠️ preview failed: {e}")
|
| 1432 |
_write_logs(LOG_PATH, logs)
|
|
|
|
| 1093 |
+ _pdf_to_iframe_html(pdf_path, height="700px")
|
| 1094 |
)
|
| 1095 |
_write_logs(LOG_PATH, logs)
|
| 1096 |
+
return "", str(pdf_path)
|
| 1097 |
except Exception as e:
|
| 1098 |
logs.append(f"⚠️ preview failed: {e}")
|
| 1099 |
_write_logs(LOG_PATH, logs)
|
|
|
|
| 1426 |
+ _pdf_to_iframe_html(pdf_path, height="700px")
|
| 1427 |
)
|
| 1428 |
_write_logs(LOG_PATH, logs)
|
| 1429 |
+
return "", str(pdf_path)
|
| 1430 |
except Exception as e:
|
| 1431 |
logs.append(f"⚠️ preview failed: {e}")
|
| 1432 |
_write_logs(LOG_PATH, logs)
|