Spaces:
Sleeping
Sleeping
Push Bot
commited on
Commit
·
5bf534e
1
Parent(s):
d5f9fcb
Debug: add image preview (first page) with PyMuPDF/pdfium; return PDF path from debug flows; chain .then to render image
Browse files
app.py
CHANGED
|
@@ -1859,7 +1859,7 @@ def debug_compile_output_zip():
|
|
| 1859 |
except Exception as e:
|
| 1860 |
logs.append(f"❌ unzip failed: {e}")
|
| 1861 |
_write_logs(LOG_PATH, logs)
|
| 1862 |
-
return "<div style='color:#b00'>Unzip failed.</div>"
|
| 1863 |
|
| 1864 |
# Locate poster_output.tex (fallback to poster.tex)
|
| 1865 |
tex_path = None
|
|
|
|
| 1859 |
except Exception as e:
|
| 1860 |
logs.append(f"❌ unzip failed: {e}")
|
| 1861 |
_write_logs(LOG_PATH, logs)
|
| 1862 |
+
return "<div style='color:#b00'>Unzip failed.</div>", None
|
| 1863 |
|
| 1864 |
# Locate poster_output.tex (fallback to poster.tex)
|
| 1865 |
tex_path = None
|