Spaces:
Sleeping
Sleeping
Push Bot
commited on
Commit
Β·
00d1044
1
Parent(s):
366a959
UI: shrink Logs box height; hide debug buttons and preview boxes (only image preview used)
Browse files
app.py
CHANGED
|
@@ -1318,19 +1318,19 @@ The framework builds upon [CAMEL-ai](https://github.com/camel-ai/camel).
|
|
| 1318 |
# ========== RIGHT: OUTPUT ==========
|
| 1319 |
with gr.Column(scale=1):
|
| 1320 |
with gr.Accordion("Output", open=True):
|
| 1321 |
-
logs_out = gr.Textbox(label="π§Ύ Logs
|
| 1322 |
pdf_out = gr.HTML(label="π Poster (PDF Preview)", visible=False)
|
| 1323 |
img_out = gr.Image(label="πΌοΈ Poster (Image Preview)", interactive=False)
|
| 1324 |
pdf_file_out = gr.File(label="π Download Poster (PDF)")
|
| 1325 |
zip_out = gr.File(label="π¦ Download Results (.zip)")
|
| 1326 |
overleaf_out = gr.HTML(label="Open in Overleaf")
|
| 1327 |
-
debug_zip_btn= gr.Button("π Test repo output.zip", variant="secondary")
|
| 1328 |
debug_zip_out= gr.HTML(label="π Real Output Preview", visible=False)
|
| 1329 |
-
debug_zip_img= gr.Image(label="π Real Output Image", interactive=False)
|
| 1330 |
debug_zip_pdfpath = gr.Textbox(visible=False)
|
| 1331 |
-
debug_last_btn= gr.Button("π Test last pipeline zip", variant="secondary")
|
| 1332 |
debug_last_out= gr.HTML(label="π Last Pipeline Preview", visible=False)
|
| 1333 |
-
debug_last_img= gr.Image(label="π Last Output Image", interactive=False)
|
| 1334 |
debug_last_pdfpath = gr.Textbox(visible=False)
|
| 1335 |
_run_evt = run_btn.click(
|
| 1336 |
fn=run_pipeline,
|
|
|
|
| 1318 |
# ========== RIGHT: OUTPUT ==========
|
| 1319 |
with gr.Column(scale=1):
|
| 1320 |
with gr.Accordion("Output", open=True):
|
| 1321 |
+
logs_out = gr.Textbox(label="π§Ύ Logs", lines=10, max_lines=20)
|
| 1322 |
pdf_out = gr.HTML(label="π Poster (PDF Preview)", visible=False)
|
| 1323 |
img_out = gr.Image(label="πΌοΈ Poster (Image Preview)", interactive=False)
|
| 1324 |
pdf_file_out = gr.File(label="π Download Poster (PDF)")
|
| 1325 |
zip_out = gr.File(label="π¦ Download Results (.zip)")
|
| 1326 |
overleaf_out = gr.HTML(label="Open in Overleaf")
|
| 1327 |
+
debug_zip_btn= gr.Button("π Test repo output.zip", variant="secondary", visible=False)
|
| 1328 |
debug_zip_out= gr.HTML(label="π Real Output Preview", visible=False)
|
| 1329 |
+
debug_zip_img= gr.Image(label="π Real Output Image", interactive=False, visible=False)
|
| 1330 |
debug_zip_pdfpath = gr.Textbox(visible=False)
|
| 1331 |
+
debug_last_btn= gr.Button("π Test last pipeline zip", variant="secondary", visible=False)
|
| 1332 |
debug_last_out= gr.HTML(label="π Last Pipeline Preview", visible=False)
|
| 1333 |
+
debug_last_img= gr.Image(label="π Last Output Image", interactive=False, visible=False)
|
| 1334 |
debug_last_pdfpath = gr.Textbox(visible=False)
|
| 1335 |
_run_evt = run_btn.click(
|
| 1336 |
fn=run_pipeline,
|