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
Files changed (1) hide show
  1. app.py +5 -5
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 (8–10 minutes)", lines=30, max_lines=50)
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,