Spaces:
Sleeping
Sleeping
Push Bot
commited on
Commit
·
b0eebf5
1
Parent(s):
d3eea95
Preview-only image: hide all PDF HTML previews; debug flows return only PDF path; pipeline stops building PDF HTML
Browse files
app.py
CHANGED
|
@@ -1681,7 +1681,7 @@ def debug_compile_uploaded_zip(zip_file):
|
|
| 1681 |
+ _pdf_to_iframe_html(pdf_path, height="700px")
|
| 1682 |
)
|
| 1683 |
_write_logs(LOG_PATH, logs)
|
| 1684 |
-
return
|
| 1685 |
except Exception as e:
|
| 1686 |
logs.append(f"⚠️ preview failed: {e}")
|
| 1687 |
_write_logs(LOG_PATH, logs)
|
|
|
|
| 1681 |
+ _pdf_to_iframe_html(pdf_path, height="700px")
|
| 1682 |
)
|
| 1683 |
_write_logs(LOG_PATH, logs)
|
| 1684 |
+
return "", str(pdf_path)
|
| 1685 |
except Exception as e:
|
| 1686 |
logs.append(f"⚠️ preview failed: {e}")
|
| 1687 |
_write_logs(LOG_PATH, logs)
|