Spaces:
Sleeping
Sleeping
Push Bot
commited on
Commit
·
f1f43a2
1
Parent(s):
0ec5389
Preview-only image: hide all PDF HTML previews; debug flows return only PDF path; pipeline stops building PDF HTML
Browse files
app.py
CHANGED
|
@@ -1522,7 +1522,7 @@ def debug_compile_uploaded_zip(zip_file):
|
|
| 1522 |
+ _pdf_to_iframe_html(pdf_path, height="700px")
|
| 1523 |
)
|
| 1524 |
_write_logs(LOG_PATH, logs)
|
| 1525 |
-
return
|
| 1526 |
except Exception as e:
|
| 1527 |
logs.append(f"⚠️ preview failed: {e}")
|
| 1528 |
_write_logs(LOG_PATH, logs)
|
|
|
|
| 1522 |
+ _pdf_to_iframe_html(pdf_path, height="700px")
|
| 1523 |
)
|
| 1524 |
_write_logs(LOG_PATH, logs)
|
| 1525 |
+
return "", str(pdf_path)
|
| 1526 |
except Exception as e:
|
| 1527 |
logs.append(f"⚠️ preview failed: {e}")
|
| 1528 |
_write_logs(LOG_PATH, logs)
|