Spaces:
Sleeping
Sleeping
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>
Files changed (26)
- examples/neurips_2024_4032/meta.json → examples/01_iclr_2023_11250/meta.jsonRenamed+4-4
- examples/icml_2022_16583/paper.pdf → examples/01_iclr_2023_11250/paper.pdfRenamed+2-2
- examples/01_iclr_2023_11250/poster.htmlAdded
- examples/icml_2022_18241/poster.png → examples/01_iclr_2023_11250/poster.pngRenamed
- examples/iclr_2025_5006/meta.json → examples/02_iclr_2022_6934/meta.jsonRenamed+4-4
- examples/iclr_2025_5006/paper.pdf → examples/02_iclr_2022_6934/paper.pdfRenamed+2-2
- examples/02_iclr_2022_6934/poster.htmlAdded
- examples/neurips_2022_63389/poster.png → examples/02_iclr_2022_6934/poster.pngRenamed
- examples/icml_2022_18241/meta.json → examples/03_iclr_2024_18728/meta.jsonRenamed+4-4
- examples/icml_2022_18241/paper.pdf → examples/03_iclr_2024_18728/paper.pdfRenamed+2-2
- examples/03_iclr_2024_18728/poster.htmlAdded
- examples/iclr_2025_5006/poster.png → examples/03_iclr_2024_18728/poster.pngRenamed
- examples/icml_2022_16583/meta.json → examples/04_icml_2024_34200/meta.jsonRenamed+4-4
- examples/neurips_2022_63389/paper.pdf → examples/04_icml_2024_34200/paper.pdfRenamed+2-2
- examples/04_icml_2024_34200/poster.htmlAdded
- examples/icml_2022_16583/poster.png → examples/04_icml_2024_34200/poster.pngRenamed
- examples/05_neurips_2025_17956/meta.jsonAdded+10
- examples/05_neurips_2025_17956/paper.pdfAdded+3
- examples/05_neurips_2025_17956/poster.htmlAdded
- examples/05_neurips_2025_17956/poster.pngAdded
- examples/icml_2022_16583/poster.htmlDeleted
- examples/neurips_2022_63389/meta.jsonDeleted-10
- examples/neurips_2022_63389/poster.htmlDeleted
- examples/neurips_2024_4032/paper.pdfDeleted-3
- examples/neurips_2024_4032/poster.pngDeleted
- pdf_pipeline.py+25-2
12345678{"title": "DiffuLT: Diffusion for Long-tail Recognition Without External Knowledge","venue": "NeurIPS 2024","paper_id": "NeurIPS_2024_4032","short": "DiffuLT · NeurIPS 2024","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.","canvas": "Landscape · 3:2","columns": 3,12345678{"title": "MAESTRO: Open-Ended Environment Design for Multi-Agent Reinforcement Learning","short": "MAESTRO · ICLR 2023","venue": "ICLR 2023","paper_id": "ICLR_2023_11250","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.","canvas": "Landscape · 3:2","columns": 3,
123version https://git-lfs.github.com/spec/v1oid sha256:ce8ae89247f386c4fa0f7bc72a70ab0eda1cf3cd0ba3e4371f8922c3355ea01dsize 1586267123version https://git-lfs.github.com/spec/v1oid sha256:0bf00ecfdd12ea586519eaf60a095f4d4bff6b94f00e11c8a631e8dca5156051size 3841999
12345678{"title": "Matcha: Mitigating Graph Structure Shifts with Test-Time Adaptation","venue": "ICLR 2025","paper_id": "ICLR_2025_5006","short": "Matcha · ICLR 2025","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.","canvas": "Landscape · 3:2","columns": 3,12345678{"title": "Bayesian Framework for Gradient Leakage","short": "Gradient Leakage · ICLR 2022","venue": "ICLR 2022","paper_id": "ICLR_2022_6934","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.","canvas": "Landscape · 3:2","columns": 3,
123version https://git-lfs.github.com/spec/v1oid sha256:b602b23c819046ab875dca439c16e512d799c1c89f3340e5bf11e24c51723198size 3939092123version https://git-lfs.github.com/spec/v1oid sha256:63747365ae12a267e0add5f75eb122217cd2f05e49eff94b68e89e385c7e738fsize 1653739
12345678{"title": "Discovering Generalizable Spatial Goal Representations via Graph-based Active Reward Learning","venue": "ICML 2022","paper_id": "ICML_2022_18241","short": "GEM · ICML 2022","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.","canvas": "Landscape · 3:2","columns": 3,12345678{"title": "Universal Humanoid Motion Representations for Physics-Based Control","short": "Humanoid Motion · ICLR 2024","venue": "ICLR 2024","paper_id": "ICLR_2024_18728","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.","canvas": "Landscape · 3:2","columns": 3,
123version https://git-lfs.github.com/spec/v1oid sha256:e3ca777da75c8b2f5e263786baec579cb877036fe5c0067d39aed04f8a921b60size 1344934123version https://git-lfs.github.com/spec/v1oid sha256:cd435bb5c24db5ce04c4d05376903ec95fdf4c57d27b9e976d8d01360ba6649csize 7600191
12345678{"title": "Adaptive Second Order Coresets for Data-efficient Machine Learning","venue": "ICML 2022","paper_id": "ICML_2022_16583","short": "AdaCore · ICML 2022","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.","canvas": "Landscape · 3:2","columns": 3,12345678{"title": "NExT-GPT: Any-to-Any Multimodal LLM","short": "NExT-GPT · ICML 2024","venue": "ICML 2024","paper_id": "ICML_2024_34200","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.","canvas": "Landscape · 3:2","columns": 3,
123version https://git-lfs.github.com/spec/v1oid sha256:21c8594705d06c371d6c320bf1d720bba3fcb4d375930ff57a88ed148bc53b07size 267114123version https://git-lfs.github.com/spec/v1oid sha256:f04f130acd112fa73b1d762ab00da69fad254ec3a6e48a39a5367b2693b7846csize 9056510
12345678910{ "title": "Unlocking Hidden Biomolecular Conformational Landscapes in Diffusion Models at Inference Time", "short": "ConforMix · NeurIPS 2025", "venue": "NeurIPS 2025", "paper_id": "NeurIPS_2025_17956", "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.", "canvas": "Landscape · 3:2", "columns": 3, "accent": "#584287"}123version https://git-lfs.github.com/spec/v1oid sha256:a07e79ac27221cc4e746f2d347589db903481ce21520388624cf4d2701e8a0desize 2447307912345678910{ "title": "Optimized Global Perturbation Attacks For Brain Tumour ROI Extraction From Binary Classification Models", "venue": "NeurIPS 2022", "paper_id": "NeurIPS_2022_63389", "short": "Global Perturbation · NeurIPS 2022", "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.", "canvas": "Landscape · 3:2", "columns": 3, "accent": "#584287"}123version https://git-lfs.github.com/spec/v1oid sha256:25e258b685407444c4f181dc019427dc2ad6d5590eab72af7ebddc203f1e1da0size 280989022 unmodified lines2324252627284 unmodified lines333435363738394022 unmodified linesdef scrub(value):return re.sub(r'<[^>]{0,80}>',lambda m:m.group(0).replace('<','‹').replace('>','›'),value or '')def prepare(pdf, job, instruction, canvas, accent, columns, custom_spec=''):from layout_runtime import extractpdf=Path(pdf);job=Path(job)4 unmodified linesraise ValueError('The uploaded file is not a PDF.')if len(instruction)>4000 or len(custom_spec)>3000:raise ValueError('Please shorten your design instruction / layout specification.')if not re.fullmatch(r'#[0-9a-fA-F]{6}',accent):raise ValueError('Choose an accent color in #RRGGBB format.')columns=max(1,min(4,int(columns))); width,height=CANVASES[canvas]extracted=job/'paper'extract(pdf, extracted)22 unmodified lines2324252627282930313233343536373839404142434445464748495051524 unmodified lines5758596061626322 unmodified linesdef scrub(value):return re.sub(r'<[^>]{0,80}>',lambda m:m.group(0).replace('<','‹').replace('>','›'),value or '')def normalize_accent(value, default='#584287'):"""Accept whatever the colour picker sends (#RGB, #RRGGBB, rgb()/rgba(), hsl()) and return #RRGGBB."""v=str(value or '').strip()m=re.fullmatch(r'#?([0-9a-fA-F]{6})',v)if m: return '#'+m.group(1).lower()m=re.fullmatch(r'#?([0-9a-fA-F]{3})',v)if m: return '#'+''.join(c*2 for c in m.group(1)).lower()m=re.fullmatch(r'rgba?\(([^)]*)\)',v,re.I)if m:try:parts=[p.strip() for p in m.group(1).replace('/',',').split(',')][:3]rgb=[max(0,min(255,round(float(p[:-1])*2.55 if p.endswith('%') else float(p)))) for p in parts]if len(rgb)==3: return '#%02x%02x%02x'%tuple(rgb)except ValueError: passm=re.fullmatch(r'hsla?\(([^)]*)\)',v,re.I)if m:try:import colorsysparts=[p.strip().rstrip('%') for p in m.group(1).replace('/',',').split(',')][:3]h,sat,l=float(parts[0])/360.0,float(parts[1])/100.0,float(parts[2])/100.0r,g,b=colorsys.hls_to_rgb(h,l,sat); return '#%02x%02x%02x'%(round(r*255),round(g*255),round(b*255))except (ValueError,IndexError): passreturn defaultdef prepare(pdf, job, instruction, canvas, accent, columns, custom_spec=''):from layout_runtime import extractpdf=Path(pdf);job=Path(job)4 unmodified linesraise ValueError('The uploaded file is not a PDF.')if len(instruction)>4000 or len(custom_spec)>3000:raise ValueError('Please shorten your design instruction / layout specification.')accent=normalize_accent(accent)columns=max(1,min(4,int(columns))); width,height=CANVASES[canvas]extracted=job/'paper'extract(pdf, extracted)
examples/neurips_2024_4032/meta.json → examples/01_iclr_2023_11250/meta.jsonRenamed+4-4
examples/icml_2022_16583/paper.pdf → examples/01_iclr_2023_11250/paper.pdfRenamed+2-2
examples/01_iclr_2023_11250/poster.htmlAdded
examples/icml_2022_18241/poster.png → examples/01_iclr_2023_11250/poster.pngRenamed

Large File Pointer Details
- SHA256: ca64c94f1112643f970bbd9780aa20b0b2a2261621ed6120705038086a433a9c
- Pointer size: 131 Bytes
- Size of remote file: 279 kB

Large File Pointer Details
- SHA256: fe7078059ab1f5e67b77e5ef87d43a9f07fa51f7d00dbce36cb00e371707c911
- Pointer size: 131 Bytes
- Size of remote file: 782 kB
examples/iclr_2025_5006/meta.json → examples/02_iclr_2022_6934/meta.jsonRenamed+4-4
examples/iclr_2025_5006/paper.pdf → examples/02_iclr_2022_6934/paper.pdfRenamed+2-2
examples/02_iclr_2022_6934/poster.htmlAdded
examples/neurips_2022_63389/poster.png → examples/02_iclr_2022_6934/poster.pngRenamed

Large File Pointer Details
- SHA256: abfb20aace9f6d84cf277d058c7dc1e9ad1f52bd2ee0001363b06c4d1a1837b8
- Pointer size: 131 Bytes
- Size of remote file: 498 kB

Large File Pointer Details
- SHA256: fe9bbe379b868447d9b5e5319aede933f66b6b56e8563d7c110d36e28be64a7b
- Pointer size: 131 Bytes
- Size of remote file: 592 kB
examples/icml_2022_18241/meta.json → examples/03_iclr_2024_18728/meta.jsonRenamed+4-4
examples/icml_2022_18241/paper.pdf → examples/03_iclr_2024_18728/paper.pdfRenamed+2-2
examples/03_iclr_2024_18728/poster.htmlAdded
examples/iclr_2025_5006/poster.png → examples/03_iclr_2024_18728/poster.pngRenamed

Large File Pointer Details
- SHA256: 79cc342151680d5ac96ff1a2166d5890853e0213c3f9cc719e1f4a5a944d48a1
- Pointer size: 131 Bytes
- Size of remote file: 543 kB

Large File Pointer Details
- SHA256: bbcb215dbaf7f497bb97f57dd75278e1cd685b7e9f025007613cc07561f72ba5
- Pointer size: 131 Bytes
- Size of remote file: 713 kB
examples/icml_2022_16583/meta.json → examples/04_icml_2024_34200/meta.jsonRenamed+4-4
examples/neurips_2022_63389/paper.pdf → examples/04_icml_2024_34200/paper.pdfRenamed+2-2
examples/04_icml_2024_34200/poster.htmlAdded
examples/icml_2022_16583/poster.png → examples/04_icml_2024_34200/poster.pngRenamed

Large File Pointer Details
- SHA256: 0cd1a5140fdd76685b3561611273d5b1f2070a2a455a39b51433b99220d6a09b
- Pointer size: 131 Bytes
- Size of remote file: 436 kB

Large File Pointer Details
- SHA256: e4355081b942818a70f5a0f1c1a09280833d45ee2b1a79fc28faf7de559e2845
- Pointer size: 131 Bytes
- Size of remote file: 763 kB
examples/05_neurips_2025_17956/meta.jsonAdded+10
examples/05_neurips_2025_17956/paper.pdfAdded+3
examples/05_neurips_2025_17956/poster.htmlAdded
examples/05_neurips_2025_17956/poster.pngAdded

Large File Pointer Details
- SHA256: 7b0633156da4ca6dcecbb223a17cfc00090229f1f27a2390ab89ee592e22ba17
- Pointer size: 131 Bytes
- Size of remote file: 617 kB
examples/icml_2022_16583/poster.htmlDeleted
examples/neurips_2022_63389/meta.jsonDeleted-10
examples/neurips_2022_63389/poster.htmlDeleted
examples/neurips_2024_4032/paper.pdfDeleted-3
examples/neurips_2024_4032/poster.pngDeleted

Large File Pointer Details
- SHA256: 892625d25d37b38b92a9dc02623640bf18f7ca077135edfa9d90ec9b90bf58d5
- Pointer size: 131 Bytes
- Size of remote file: 404 kB
pdf_pipeline.py+25-2