Spaces:
Running
Running
CodexCLI Bot
commited on
Commit
Β·
ed6413c
1
Parent(s):
6241703
UI: move CAMEL line into HTML with zero bottom margin to eliminate gap; keep first row top margin minimal
Browse files
app.py
CHANGED
|
@@ -3428,7 +3428,8 @@ def debug_compile():
|
|
| 3428 |
# Gradio UI
|
| 3429 |
# =====================
|
| 3430 |
with gr.Blocks(title="π Paper2Poster") as iface:
|
| 3431 |
-
|
|
|
|
| 3432 |
gr.Markdown("""
|
| 3433 |
[Paper](https://arxiv.org/abs/2505.21497) | [GitHub](https://github.com/Paper2Poster/Paper2Poster) | [Project Page](https://paper2poster.github.io/)
|
| 3434 |
|
|
@@ -3436,15 +3437,16 @@ with gr.Blocks(title="π Paper2Poster") as iface:
|
|
| 3436 |
Please be patient β each paper takes about 8β10 minutes to process.
|
| 3437 |
|
| 3438 |
This work, developed in collaboration with [TVG@Oxford](https://torrvision.com/index.html) and [UWaterloo](https://uwaterloo.ca/), has been accepted to [NeurIPS 2025 D&B](https://neurips.cc/).
|
| 3439 |
-
|
| 3440 |
-
The framework builds upon πͺ [CAMEL-ai](https://github.com/camel-ai/camel).
|
| 3441 |
-
""")
|
| 3442 |
# Top-right logos (camel, tvg, waterloo) if available
|
| 3443 |
gr.HTML(_ui_header_logos_html())
|
| 3444 |
|
|
|
|
|
|
|
|
|
|
| 3445 |
# -------- Input box --------
|
| 3446 |
-
#
|
| 3447 |
-
gr.HTML("<style>#main-row{margin-top:
|
| 3448 |
with gr.Row(elem_id="main-row"):
|
| 3449 |
# ========== LEFT: INPUT ==========
|
| 3450 |
with gr.Column(scale=1):
|
|
|
|
| 3428 |
# Gradio UI
|
| 3429 |
# =====================
|
| 3430 |
with gr.Blocks(title="π Paper2Poster") as iface:
|
| 3431 |
+
# Title + intro with IDs so we can precisely collapse spacing below them
|
| 3432 |
+
gr.Markdown("# π Paper2Poster", elem_id="title-md")
|
| 3433 |
gr.Markdown("""
|
| 3434 |
[Paper](https://arxiv.org/abs/2505.21497) | [GitHub](https://github.com/Paper2Poster/Paper2Poster) | [Project Page](https://paper2poster.github.io/)
|
| 3435 |
|
|
|
|
| 3437 |
Please be patient β each paper takes about 8β10 minutes to process.
|
| 3438 |
|
| 3439 |
This work, developed in collaboration with [TVG@Oxford](https://torrvision.com/index.html) and [UWaterloo](https://uwaterloo.ca/), has been accepted to [NeurIPS 2025 D&B](https://neurips.cc/).
|
| 3440 |
+
""", elem_id="intro-md")
|
|
|
|
|
|
|
| 3441 |
# Top-right logos (camel, tvg, waterloo) if available
|
| 3442 |
gr.HTML(_ui_header_logos_html())
|
| 3443 |
|
| 3444 |
+
# Place the CAMEL line as raw HTML with zero bottom margin to remove extra gap
|
| 3445 |
+
gr.HTML("<div style='margin:4px 0 0 0;line-height:1.25'>The framework builds upon πͺ <a href='https://github.com/camel-ai/camel' target='_blank' rel='noopener'>CAMEL-ai</a>.</div>")
|
| 3446 |
+
|
| 3447 |
# -------- Input box --------
|
| 3448 |
+
# Precise spacing collapse: ensure minimal gap above first row
|
| 3449 |
+
gr.HTML("<style>#main-row{margin-top:2px!important}</style>")
|
| 3450 |
with gr.Row(elem_id="main-row"):
|
| 3451 |
# ========== LEFT: INPUT ==========
|
| 3452 |
with gr.Column(scale=1):
|