Spaces:
Running
Running
Push Bot
commited on
Commit
·
ecac45b
1
Parent(s):
c3cb63d
Add image preview box; serve PDF preview via iframe /file=; hook image render after run; fix merge markers
Browse files
app.py
CHANGED
|
@@ -1465,6 +1465,7 @@ This work, developed in collaboration with [TVG@Oxford](https://torrvision.com/i
|
|
| 1465 |
inputs=[arxiv_in, pdf_in, key_in, inst_logo_in, conf_logo_in, theme_in],
|
| 1466 |
outputs=[logs_out, pdf_out, pdf_file_out, zip_out, overleaf_out],
|
| 1467 |
)
|
|
|
|
| 1468 |
debug_zip_btn.click(fn=debug_compile_output_zip, inputs=[], outputs=[debug_zip_out])
|
| 1469 |
debug_last_btn.click(fn=debug_compile_last_pipeline_zip, inputs=[], outputs=[debug_last_out])
|
| 1470 |
|
|
|
|
| 1465 |
inputs=[arxiv_in, pdf_in, key_in, inst_logo_in, conf_logo_in, theme_in],
|
| 1466 |
outputs=[logs_out, pdf_out, pdf_file_out, zip_out, overleaf_out],
|
| 1467 |
)
|
| 1468 |
+
_run_evt.then(fn=preview_image_from_pdf, inputs=[pdf_file_out], outputs=[img_out])
|
| 1469 |
debug_zip_btn.click(fn=debug_compile_output_zip, inputs=[], outputs=[debug_zip_out])
|
| 1470 |
debug_last_btn.click(fn=debug_compile_last_pipeline_zip, inputs=[], outputs=[debug_last_out])
|
| 1471 |
|