CodexCLI Bot commited on
Commit
a4ec709
·
1 Parent(s): 19eeafd

UI: fix duplicated CAMEL line — remove Markdown-embedded CAMEL, keep single plain-text CAMEL line with zero margin; remove extra row spacing

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -4070,18 +4070,16 @@ with gr.Blocks(title="🎓 Paper2Poster") as iface:
4070
  **TL;DR:** Upload your paper and get an auto-generated poster.
4071
  Please be patient — each paper takes about 8–10 minutes to process.
4072
 
4073
- 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/). The framework builds upon 🐪 [CAMEL-ai](https://github.com/camel-ai/camel).
4074
  """, elem_id="intro-md")
4075
  # Top-right logos (camel, tvg, waterloo) if available
4076
  gr.HTML(_ui_header_logos_html())
4077
 
4078
- # Place the CAMEL line as raw HTML with zero bottom margin to remove extra gap
4079
- 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>")
4080
 
4081
  # -------- Input box --------
4082
- # Precise spacing collapse: ensure minimal gap above first row
4083
- gr.HTML("<style>#main-row{margin-top:2px!important}</style>")
4084
- with gr.Row(elem_id="main-row"):
4085
  # ========== LEFT: INPUT ==========
4086
  with gr.Column(scale=1):
4087
  with gr.Accordion("Input", open=True):
 
4070
  **TL;DR:** Upload your paper and get an auto-generated poster.
4071
  Please be patient — each paper takes about 8–10 minutes to process.
4072
 
4073
+ 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/).
4074
  """, elem_id="intro-md")
4075
  # Top-right logos (camel, tvg, waterloo) if available
4076
  gr.HTML(_ui_header_logos_html())
4077
 
4078
+ # CAMEL line as plain text (not in Markdown), minimal spacing
4079
+ gr.HTML("<div style='margin: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>")
4080
 
4081
  # -------- Input box --------
4082
+ with gr.Row():
 
 
4083
  # ========== LEFT: INPUT ==========
4084
  with gr.Column(scale=1):
4085
  with gr.Accordion("Input", open=True):