Spaces:
Running on Zero
Running on Zero
hanhaonan02 Claude Fable 5.1 commited on
Commit ·
77e6466
1
Parent(s): 10726af
Accept any colour-picker format for the accent; replace examples with five stronger test-set posters
Browse files- normalize_accent(): #RGB/#RRGGBB/rgb()/rgba()/hsl() -> #RRGGBB, default on failure
(the picker could send rgba(...) and the old check raised 'Choose an accent color in #RRGGBB format')
- Examples: MAESTRO (ICLR 2023), Gradient Leakage (ICLR 2022), Humanoid Motion (ICLR 2024),
NExT-GPT (ICML 2024), ConforMix (NeurIPS 2025), each with PDF, PNG and self-contained HTML
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
- examples/{neurips_2024_4032 → 01_iclr_2023_11250}/meta.json +4 -4
- examples/{icml_2022_16583 → 01_iclr_2023_11250}/paper.pdf +2 -2
- examples/01_iclr_2023_11250/poster.html +0 -0
- examples/{icml_2022_18241 → 01_iclr_2023_11250}/poster.png +2 -2
- examples/{iclr_2025_5006 → 02_iclr_2022_6934}/meta.json +4 -4
- examples/{iclr_2025_5006 → 02_iclr_2022_6934}/paper.pdf +2 -2
- examples/02_iclr_2022_6934/poster.html +0 -0
- examples/{neurips_2022_63389 → 02_iclr_2022_6934}/poster.png +2 -2
- examples/{icml_2022_18241 → 03_iclr_2024_18728}/meta.json +4 -4
- examples/{icml_2022_18241 → 03_iclr_2024_18728}/paper.pdf +2 -2
- examples/03_iclr_2024_18728/poster.html +0 -0
- examples/{iclr_2025_5006 → 03_iclr_2024_18728}/poster.png +2 -2
- examples/{icml_2022_16583 → 04_icml_2024_34200}/meta.json +4 -4
- examples/{neurips_2022_63389 → 04_icml_2024_34200}/paper.pdf +2 -2
- examples/04_icml_2024_34200/poster.html +0 -0
- examples/{icml_2022_16583 → 04_icml_2024_34200}/poster.png +2 -2
- examples/05_neurips_2025_17956/meta.json +10 -0
- examples/05_neurips_2025_17956/paper.pdf +3 -0
- examples/05_neurips_2025_17956/poster.html +0 -0
- examples/05_neurips_2025_17956/poster.png +3 -0
- examples/icml_2022_16583/poster.html +0 -0
- examples/neurips_2022_63389/meta.json +0 -10
- examples/neurips_2022_63389/poster.html +0 -0
- examples/neurips_2024_4032/paper.pdf +0 -3
- examples/neurips_2024_4032/poster.png +0 -3
- pdf_pipeline.py +25 -2
examples/{neurips_2024_4032 → 01_iclr_2023_11250}/meta.json
RENAMED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"title": "
|
| 3 |
-
"
|
| 4 |
-
"
|
| 5 |
-
"
|
| 6 |
"instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
|
| 7 |
"canvas": "Landscape · 3:2",
|
| 8 |
"columns": 3,
|
|
|
|
| 1 |
{
|
| 2 |
+
"title": "MAESTRO: Open-Ended Environment Design for Multi-Agent Reinforcement Learning",
|
| 3 |
+
"short": "MAESTRO · ICLR 2023",
|
| 4 |
+
"venue": "ICLR 2023",
|
| 5 |
+
"paper_id": "ICLR_2023_11250",
|
| 6 |
"instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
|
| 7 |
"canvas": "Landscape · 3:2",
|
| 8 |
"columns": 3,
|
examples/{icml_2022_16583 → 01_iclr_2023_11250}/paper.pdf
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0bf00ecfdd12ea586519eaf60a095f4d4bff6b94f00e11c8a631e8dca5156051
|
| 3 |
+
size 3841999
|
examples/01_iclr_2023_11250/poster.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
examples/{icml_2022_18241 → 01_iclr_2023_11250}/poster.png
RENAMED
|
File without changes
|
examples/{iclr_2025_5006 → 02_iclr_2022_6934}/meta.json
RENAMED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"title": "
|
| 3 |
-
"
|
| 4 |
-
"
|
| 5 |
-
"
|
| 6 |
"instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
|
| 7 |
"canvas": "Landscape · 3:2",
|
| 8 |
"columns": 3,
|
|
|
|
| 1 |
{
|
| 2 |
+
"title": "Bayesian Framework for Gradient Leakage",
|
| 3 |
+
"short": "Gradient Leakage · ICLR 2022",
|
| 4 |
+
"venue": "ICLR 2022",
|
| 5 |
+
"paper_id": "ICLR_2022_6934",
|
| 6 |
"instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
|
| 7 |
"canvas": "Landscape · 3:2",
|
| 8 |
"columns": 3,
|
examples/{iclr_2025_5006 → 02_iclr_2022_6934}/paper.pdf
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63747365ae12a267e0add5f75eb122217cd2f05e49eff94b68e89e385c7e738f
|
| 3 |
+
size 1653739
|
examples/02_iclr_2022_6934/poster.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
examples/{neurips_2022_63389 → 02_iclr_2022_6934}/poster.png
RENAMED
|
File without changes
|
examples/{icml_2022_18241 → 03_iclr_2024_18728}/meta.json
RENAMED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"title": "
|
| 3 |
-
"
|
| 4 |
-
"
|
| 5 |
-
"
|
| 6 |
"instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
|
| 7 |
"canvas": "Landscape · 3:2",
|
| 8 |
"columns": 3,
|
|
|
|
| 1 |
{
|
| 2 |
+
"title": "Universal Humanoid Motion Representations for Physics-Based Control",
|
| 3 |
+
"short": "Humanoid Motion · ICLR 2024",
|
| 4 |
+
"venue": "ICLR 2024",
|
| 5 |
+
"paper_id": "ICLR_2024_18728",
|
| 6 |
"instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
|
| 7 |
"canvas": "Landscape · 3:2",
|
| 8 |
"columns": 3,
|
examples/{icml_2022_18241 → 03_iclr_2024_18728}/paper.pdf
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd435bb5c24db5ce04c4d05376903ec95fdf4c57d27b9e976d8d01360ba6649c
|
| 3 |
+
size 7600191
|
examples/03_iclr_2024_18728/poster.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
examples/{iclr_2025_5006 → 03_iclr_2024_18728}/poster.png
RENAMED
|
File without changes
|
examples/{icml_2022_16583 → 04_icml_2024_34200}/meta.json
RENAMED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"title": "
|
| 3 |
-
"
|
| 4 |
-
"
|
| 5 |
-
"
|
| 6 |
"instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
|
| 7 |
"canvas": "Landscape · 3:2",
|
| 8 |
"columns": 3,
|
|
|
|
| 1 |
{
|
| 2 |
+
"title": "NExT-GPT: Any-to-Any Multimodal LLM",
|
| 3 |
+
"short": "NExT-GPT · ICML 2024",
|
| 4 |
+
"venue": "ICML 2024",
|
| 5 |
+
"paper_id": "ICML_2024_34200",
|
| 6 |
"instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
|
| 7 |
"canvas": "Landscape · 3:2",
|
| 8 |
"columns": 3,
|
examples/{neurips_2022_63389 → 04_icml_2024_34200}/paper.pdf
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f04f130acd112fa73b1d762ab00da69fad254ec3a6e48a39a5367b2693b7846c
|
| 3 |
+
size 9056510
|
examples/04_icml_2024_34200/poster.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
examples/{icml_2022_16583 → 04_icml_2024_34200}/poster.png
RENAMED
|
File without changes
|
examples/05_neurips_2025_17956/meta.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"title": "Unlocking Hidden Biomolecular Conformational Landscapes in Diffusion Models at Inference Time",
|
| 3 |
+
"short": "ConforMix · NeurIPS 2025",
|
| 4 |
+
"venue": "NeurIPS 2025",
|
| 5 |
+
"paper_id": "NeurIPS_2025_17956",
|
| 6 |
+
"instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
|
| 7 |
+
"canvas": "Landscape · 3:2",
|
| 8 |
+
"columns": 3,
|
| 9 |
+
"accent": "#584287"
|
| 10 |
+
}
|
examples/05_neurips_2025_17956/paper.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a07e79ac27221cc4e746f2d347589db903481ce21520388624cf4d2701e8a0de
|
| 3 |
+
size 24473079
|
examples/05_neurips_2025_17956/poster.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
examples/05_neurips_2025_17956/poster.png
ADDED
|
Git LFS Details
|
examples/icml_2022_16583/poster.html
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
examples/neurips_2022_63389/meta.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"title": "Optimized Global Perturbation Attacks For Brain Tumour ROI Extraction From Binary Classification Models",
|
| 3 |
-
"venue": "NeurIPS 2022",
|
| 4 |
-
"paper_id": "NeurIPS_2022_63389",
|
| 5 |
-
"short": "Global Perturbation · NeurIPS 2022",
|
| 6 |
-
"instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
|
| 7 |
-
"canvas": "Landscape · 3:2",
|
| 8 |
-
"columns": 3,
|
| 9 |
-
"accent": "#584287"
|
| 10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
examples/neurips_2022_63389/poster.html
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
examples/neurips_2024_4032/paper.pdf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:25e258b685407444c4f181dc019427dc2ad6d5590eab72af7ebddc203f1e1da0
|
| 3 |
-
size 2809890
|
|
|
|
|
|
|
|
|
|
|
|
examples/neurips_2024_4032/poster.png
DELETED
Git LFS Details
|
pdf_pipeline.py
CHANGED
|
@@ -23,6 +23,30 @@ CANVASES = {'Landscape · 3:2': (2400,1600), 'Landscape · 16:9':(2400,1350),
|
|
| 23 |
def scrub(value):
|
| 24 |
return re.sub(r'<[^>]{0,80}>',lambda m:m.group(0).replace('<','‹').replace('>','›'),value or '')
|
| 25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
def prepare(pdf, job, instruction, canvas, accent, columns, custom_spec=''):
|
| 27 |
from layout_runtime import extract
|
| 28 |
pdf=Path(pdf);job=Path(job)
|
|
@@ -33,8 +57,7 @@ def prepare(pdf, job, instruction, canvas, accent, columns, custom_spec=''):
|
|
| 33 |
raise ValueError('The uploaded file is not a PDF.')
|
| 34 |
if len(instruction)>4000 or len(custom_spec)>3000:
|
| 35 |
raise ValueError('Please shorten your design instruction / layout specification.')
|
| 36 |
-
|
| 37 |
-
raise ValueError('Choose an accent color in #RRGGBB format.')
|
| 38 |
columns=max(1,min(4,int(columns))); width,height=CANVASES[canvas]
|
| 39 |
extracted=job/'paper'
|
| 40 |
extract(pdf, extracted)
|
|
|
|
| 23 |
def scrub(value):
|
| 24 |
return re.sub(r'<[^>]{0,80}>',lambda m:m.group(0).replace('<','‹').replace('>','›'),value or '')
|
| 25 |
|
| 26 |
+
def normalize_accent(value, default='#584287'):
|
| 27 |
+
"""Accept whatever the colour picker sends (#RGB, #RRGGBB, rgb()/rgba(), hsl()) and return #RRGGBB."""
|
| 28 |
+
v=str(value or '').strip()
|
| 29 |
+
m=re.fullmatch(r'#?([0-9a-fA-F]{6})',v)
|
| 30 |
+
if m: return '#'+m.group(1).lower()
|
| 31 |
+
m=re.fullmatch(r'#?([0-9a-fA-F]{3})',v)
|
| 32 |
+
if m: return '#'+''.join(c*2 for c in m.group(1)).lower()
|
| 33 |
+
m=re.fullmatch(r'rgba?\(([^)]*)\)',v,re.I)
|
| 34 |
+
if m:
|
| 35 |
+
try:
|
| 36 |
+
parts=[p.strip() for p in m.group(1).replace('/',',').split(',')][:3]
|
| 37 |
+
rgb=[max(0,min(255,round(float(p[:-1])*2.55 if p.endswith('%') else float(p)))) for p in parts]
|
| 38 |
+
if len(rgb)==3: return '#%02x%02x%02x'%tuple(rgb)
|
| 39 |
+
except ValueError: pass
|
| 40 |
+
m=re.fullmatch(r'hsla?\(([^)]*)\)',v,re.I)
|
| 41 |
+
if m:
|
| 42 |
+
try:
|
| 43 |
+
import colorsys
|
| 44 |
+
parts=[p.strip().rstrip('%') for p in m.group(1).replace('/',',').split(',')][:3]
|
| 45 |
+
h,sat,l=float(parts[0])/360.0,float(parts[1])/100.0,float(parts[2])/100.0
|
| 46 |
+
r,g,b=colorsys.hls_to_rgb(h,l,sat); return '#%02x%02x%02x'%(round(r*255),round(g*255),round(b*255))
|
| 47 |
+
except (ValueError,IndexError): pass
|
| 48 |
+
return default
|
| 49 |
+
|
| 50 |
def prepare(pdf, job, instruction, canvas, accent, columns, custom_spec=''):
|
| 51 |
from layout_runtime import extract
|
| 52 |
pdf=Path(pdf);job=Path(job)
|
|
|
|
| 57 |
raise ValueError('The uploaded file is not a PDF.')
|
| 58 |
if len(instruction)>4000 or len(custom_spec)>3000:
|
| 59 |
raise ValueError('Please shorten your design instruction / layout specification.')
|
| 60 |
+
accent=normalize_accent(accent)
|
|
|
|
| 61 |
columns=max(1,min(4,int(columns))); width,height=CANVASES[canvas]
|
| 62 |
extracted=job/'paper'
|
| 63 |
extract(pdf, extracted)
|