Spaces:
Running
Running
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
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 |
-
|
| 1324 |
-
|
| 1325 |
-
|
| 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)
|