Spaces:
Sleeping
Sleeping
CodexCLI Bot
commited on
Commit
·
6405632
1
Parent(s):
74ad965
UI: revert global margin tweaks; apply targeted spacing by setting elem_id=main-row and shrinking its top margin
Browse files
app.py
CHANGED
|
@@ -4036,21 +4036,13 @@ Please be patient — each paper takes about 8–10 minutes to process.
|
|
| 4036 |
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/).
|
| 4037 |
The framework builds upon 🐪 [CAMEL-ai](https://github.com/camel-ai/camel).
|
| 4038 |
""")
|
| 4039 |
-
# Compact global spacing to reduce gap between header and inputs
|
| 4040 |
-
gr.HTML(
|
| 4041 |
-
"<style>"
|
| 4042 |
-
".gradio-container .prose h1{margin-bottom:0.4rem!important;}"
|
| 4043 |
-
".gradio-container .prose p{margin:0.2rem 0!important;}"
|
| 4044 |
-
".gradio-container .gr-row{margin-top:0.25rem!important;}"
|
| 4045 |
-
".gradio-container .gr-accordion{margin-top:0.25rem!important;}"
|
| 4046 |
-
"</style>"
|
| 4047 |
-
)
|
| 4048 |
-
|
| 4049 |
# Top-right logos (camel, tvg, waterloo) if available
|
| 4050 |
gr.HTML(_ui_header_logos_html())
|
| 4051 |
|
| 4052 |
# -------- Input box --------
|
| 4053 |
-
|
|
|
|
|
|
|
| 4054 |
# ========== LEFT: INPUT ==========
|
| 4055 |
with gr.Column(scale=1):
|
| 4056 |
with gr.Accordion("Input", open=True):
|
|
|
|
| 4036 |
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/).
|
| 4037 |
The framework builds upon 🐪 [CAMEL-ai](https://github.com/camel-ai/camel).
|
| 4038 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4039 |
# Top-right logos (camel, tvg, waterloo) if available
|
| 4040 |
gr.HTML(_ui_header_logos_html())
|
| 4041 |
|
| 4042 |
# -------- Input box --------
|
| 4043 |
+
# Targeted spacing tweak: reduce the top margin only before the main row
|
| 4044 |
+
gr.HTML("<style>#main-row{margin-top:6px!important}</style>")
|
| 4045 |
+
with gr.Row(elem_id="main-row"):
|
| 4046 |
# ========== LEFT: INPUT ==========
|
| 4047 |
with gr.Column(scale=1):
|
| 4048 |
with gr.Accordion("Input", open=True):
|