Push Bot commited on
Commit
a7efa3a
Β·
1 Parent(s): 00d1044

UI layout: right column puts Image Preview on top, Logs in middle, Downloads at bottom; keep debug controls hidden

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -1318,12 +1318,17 @@ 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", 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)
 
1318
  # ========== RIGHT: OUTPUT ==========
1319
  with gr.Column(scale=1):
1320
  with gr.Accordion("Output", open=True):
1321
+ # Preview on top
1322
+ img_out = gr.Image(label="πŸ–ΌοΈ Poster (Image Preview)", interactive=False)
1323
+ # Logs in the middle
1324
  logs_out = gr.Textbox(label="🧾 Logs", lines=10, max_lines=20)
1325
+ # Downloads at bottom
1326
  pdf_out = gr.HTML(label="πŸ“„ Poster (PDF Preview)", visible=False)
1327
+ with gr.Row():
1328
+ pdf_file_out = gr.File(label="πŸ“„ Download Poster (PDF)")
1329
+ zip_out = gr.File(label="πŸ“¦ Download Results (.zip)")
1330
  overleaf_out = gr.HTML(label="Open in Overleaf")
1331
+ # Debug (hidden)
1332
  debug_zip_btn= gr.Button("🐞 Test repo output.zip", variant="secondary", visible=False)
1333
  debug_zip_out= gr.HTML(label="🐞 Real Output Preview", visible=False)
1334
  debug_zip_img= gr.Image(label="🐞 Real Output Image", interactive=False, visible=False)