Commit History

ui: fix the dark-on-dark card, verified with a real local render. Root cause of the previous broken screenshot: I set background dark navy on .main, the inner Gradio content wrapper, which painted the entire card navy so the navy headings and slate body went invisible. Now only body and gradio-app carry the navy page color; .gradio-container is the cream card and every inner wrapper (.main, .wrap, .contain, .app, .fillable) is forced transparent. Brand header, navy Libre Franklin headings, slate body, gold links, color-coded origin chips (OH green, AG rose), and the lookup result panel all verified readable by launching the app locally and screenshotting before push.
81bcb45
Running

The AI Lab commited on

ui: full editorial redesign matching theailab.org homepage. Dark navy page background with cream content card floating on top via shadow. Libre Franklin display via Google Fonts import for headings and body, gold #B8942E accents. Branded header with the gold TIP medallion svg and the kicker The AI Lab, mirroring the home page hero. Example chips become color-coded pills by origin code: OH green, AA blue, AG rose (matching the Original Human / AI-Assisted / AI-Generated badges on the homepage). Each chip auto-sizes to its CTID with proper internal padding.
6a2946f

The AI Lab commited on

ui: example chips size to their CTID content with 18px padding on each side. Removed width:100% and overflow:hidden that were clipping the CTID to fit a forced quarter-row column. Each chip is now flex:0 0 auto with scale=0 and min_width=0 on the Gradio side so it sizes to its content. Row uses flex-wrap so chips wrap to a second line on narrow viewports instead of squashing. Inner button span padding/margin zeroed so the chip's own padding takes effect.
63e3889

The AI Lab commited on

ui: roll my own example chip row, stop fighting Gradio Examples. The gr.Examples component renders chips with auto-generated class names that my CSS could not reliably reach, so the example CTIDs kept rendering near-invisible. Replaced gr.Examples with a gr.Row of four gr.Button widgets tagged with elem_classes tip-example-chip. CSS now targets my own class names with full control: dark navy background, pure white monospace text, gold hover border. Clicking a chip fills the input AND fires the lookup in one shot via a closure-bound handler.
44a3ecd

The AI Lab commited on

ui: white text on navy for the input field and the example chips, immediately readable. The input field now renders white text on a #1B2A4A navy with a #0C1A3A frame, placeholder at 55% white opacity (visible without highlighting). The four example CTID chips also flip to white-on-navy with gold hover border, so the CTIDs read at a glance instead of needing to be selected. Examples label bumped to a darker, bolder slate for clarity on the cream canvas.
cedf886

The AI Lab commited on

ui: strip Group wrappers, simplify CSS. The gr.Group wrappers were giving the output and footer Gradio's default dark-card styling, which made the navy h3 headings invisible. Removed all three wrappers. Replaced the custom HTML output placeholder with plain Markdown (h3 + paragraph) so the flex layout cannot overlap itself. Tightened CSS to target only Markdown prose, textbox, primary button, examples chips, and the Gradio footer line. Cleaner, fewer edge cases, readable from headline to footer.
70c8b21

The AI Lab commited on

fix: replace remaining em dashes in README with colons (TIP-ID, TIP-CONTENT, TIP-TRUST list) per project no-em-dashes rule
d7e311e

The AI Lab commited on

fix: remove residual em dash in app.py docstring header per the project-wide no-em-dashes rule
a149aef

The AI Lab commited on

ui: full visual overhaul, modern editorial styling. Replace the narrow CSS patch with a complete branded stylesheet: Inter typography, navy ink, gold links and primary button gradient, dark inline code chips, framed input card and output card with soft shadows, monospace example chips with gold hover, dimmed Gradio footer. Output placeholder is now a styled card with an icon and a friendly explainer instead of a near-invisible Markdown line. Fixed the em dash in the browser tab title to the editorial vertical bar.
39cd81a

The AI Lab commited on

style: fix contrast and brand colors on the Space. Replace Soft theme with Default theme so body text gets proper navy contrast instead of pale gray. Inject custom CSS that pins headings and prose colors to The AI Lab navy, makes links the editorial gold, and ensures example CTID chips render their mono text visibly. Same amber/slate hue config but on a theme that respects it.
6d17766

The AI Lab commited on

fix: pin huggingface_hub<0.26 to restore HfFolder. HF installs gradio==5.0.0 exactly from sdk_version, and that early 5.x release still imports HfFolder in gradio/oauth.py. huggingface_hub 0.26 deleted that symbol. Pinning huggingface_hub forces a downgrade to 0.25.x where HfFolder is available, unblocking the Gradio 5.0.0 import chain regardless of the upstream Gradio fix release.
ee7e67c

The AI Lab commited on

fix: upgrade to Gradio 5. Gradio 4.44 imports HfFolder from huggingface_hub which was removed in huggingface_hub 0.26, breaking the start. Gradio 5 dropped this legacy import path. Our app.py uses only stable APIs (Blocks, themes.Soft, Markdown, Row, Textbox, Button, Examples, click/submit) that work identically in 5.x. sdk_version bumped to 5.0.0 to match.
589e693

The AI Lab commited on

fix: add audioop-lts shim for Python 3.13. Gradio 4 still pulls pydub which imports the audioop module that was removed from the standard library in Python 3.13. The audioop-lts package backports it. Marker keeps the install no-op on Python 3.12 and below.
6d6f998

The AI Lab commited on

fix: HF YAML validation. colorTo amber is not in the allowed palette (red/yellow/green/blue/indigo/purple/pink/gray), swap to yellow. Tighten short_description to under 60 chars.
2bb9e72

The AI Lab commited on

merge: integrate HF default scaffold, keep local README and code
58c39af

The AI Lab commited on

tip-ctid-lookup: initial Hugging Face Space. Gradio 4 app that queries the live AI Trust Registry at node.theailab.org for a TIP CTID and renders the registered content record (origin code, creator name and TIP-ID, perceptual fingerprint, timestamp, jurisdiction). Falls back to parsed-only output when the CTID is well-formed but unregistered. Apache 2.0 licensed demo code.
4cbd020

The AI Lab commited on

initial commit
b0a1307
verified

theailaborg commited on