Spaces:
Running
Running
CodexCLI Bot
commited on
Commit
·
faf44dd
1
Parent(s):
cb7b720
UI: revert to initial approach — keep CAMEL line in Markdown; remove extra CSS/HTML and main-row id; standard Row spacing
Browse files
app.py
CHANGED
|
@@ -3745,8 +3745,8 @@ def debug_compile():
|
|
| 3745 |
# Gradio UI
|
| 3746 |
# =====================
|
| 3747 |
with gr.Blocks(title="🎓 Paper2Poster") as iface:
|
| 3748 |
-
# Title
|
| 3749 |
-
gr.Markdown("# 🎓 Paper2Poster"
|
| 3750 |
gr.Markdown("""
|
| 3751 |
[Paper](https://arxiv.org/abs/2505.21497) | [GitHub](https://github.com/Paper2Poster/Paper2Poster) | [Project Page](https://paper2poster.github.io/)
|
| 3752 |
|
|
@@ -3758,13 +3758,8 @@ This work, developed in collaboration with [TVG@Oxford](https://torrvision.com/i
|
|
| 3758 |
# Top-right logos (camel, tvg, waterloo) if available
|
| 3759 |
gr.HTML(_ui_header_logos_html())
|
| 3760 |
|
| 3761 |
-
# Place the CAMEL line as raw HTML with zero bottom margin to remove extra gap
|
| 3762 |
-
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>")
|
| 3763 |
-
|
| 3764 |
# -------- Input box --------
|
| 3765 |
-
|
| 3766 |
-
gr.HTML("<style>#main-row{margin-top:2px!important}</style>")
|
| 3767 |
-
with gr.Row(elem_id="main-row"):
|
| 3768 |
# ========== LEFT: INPUT ==========
|
| 3769 |
with gr.Column(scale=1):
|
| 3770 |
with gr.Accordion("Input", open=True):
|
|
|
|
| 3745 |
# Gradio UI
|
| 3746 |
# =====================
|
| 3747 |
with gr.Blocks(title="🎓 Paper2Poster") as iface:
|
| 3748 |
+
# Title
|
| 3749 |
+
gr.Markdown("# 🎓 Paper2Poster")
|
| 3750 |
gr.Markdown("""
|
| 3751 |
[Paper](https://arxiv.org/abs/2505.21497) | [GitHub](https://github.com/Paper2Poster/Paper2Poster) | [Project Page](https://paper2poster.github.io/)
|
| 3752 |
|
|
|
|
| 3758 |
# Top-right logos (camel, tvg, waterloo) if available
|
| 3759 |
gr.HTML(_ui_header_logos_html())
|
| 3760 |
|
|
|
|
|
|
|
|
|
|
| 3761 |
# -------- Input box --------
|
| 3762 |
+
with gr.Row():
|
|
|
|
|
|
|
| 3763 |
# ========== LEFT: INPUT ==========
|
| 3764 |
with gr.Column(scale=1):
|
| 3765 |
with gr.Accordion("Input", open=True):
|