Spaces:
Sleeping
Sleeping
Commit History
-
Restructure layout: all prompt selection left, analysis only right
G. +1: Claude Opus 4.7- Left column groups every prompt-selection surface: t-SNE map, category filter (with Select/Deselect all), dataset dropdown, custom prompt input. - Right column is purely read-out: verdict, risk level, full prompt, stats. - Plotly legend now uses itemclick='toggleothers' so a single click isolates the chosen category and a second click restores all. - New JS bridge captures plotly_legendclick / plotly_legenddoubleclick, reads the resulting visible trace set, and pushes it to a hidden Gradio input. The on_legend_sync callback then updates the checkbox filter and rebuilds the figure, keeping legend and filter authoritative-in-sync. - LABEL_TO_KEY mapping resolves display names back to category keys server-side, so the JS stays agnostic of internal IDs. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>ca68436 -
Apply Aleph Beth design system to GuardLLM UI
G. +1: Claude Opus 4.7- Parchment surface + ink typography, Instrument Serif display, Geist body/mono. - Restrained 13-category palette drawn from brand families (safe, threat, gilt, signal, ink) — no neon. - Replace emoji (verdict, header) with geometric primitives and editorial labels. - Plotly chart re-skinned: parchment paper, ink axes, soft grid, branded hover labels. - Bilingual mark (א-ב · أب) in header and footer. - Cards, buttons, inputs, filters all themed via gr.themes.Base override + custom CSS. - Pass HF_TOKEN to from_pretrained so the gated model loads when the Space secret is set. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>dea9e25
-
Upload app.py with huggingface_hub
Verified signature1569836 -
Upload app.py with huggingface_hub
Verified signatured4a174e -
Upload app.py with huggingface_hub
Verified signatureb1516cb -
Upload app.py with huggingface_hub
Verified signature2718a1f -
Upload requirements.txt with huggingface_hub
Verified signatureb17c6d9 -
Upload cache/metadata.json with huggingface_hub
Verified signaturec0bac35 -
Upload cache/embeddings_tsne.npz with huggingface_hub
Verified signaturecf6b908 -
Upload precompute.py with huggingface_hub
Verified signature79046c2 -
Upload app.py with huggingface_hub
Verified signature1c93979 -
Upload README.md with huggingface_hub
Verified signaturec020e5c -
Upload README.md with huggingface_hub
Verified signature3513d00 -
Upload requirements.txt with huggingface_hub
Verified signature043b9de -
Upload precompute.py with huggingface_hub
Verified signaturef303380 -
Upload app.py with huggingface_hub
Verified signature7335dc8
-
Fix: update to 2-class model (Benign/Malicious)
Verified signature385fae5 -
Fix shield emoji surrogate pair in TITLE
Verified signaturee189cee -
Fix emoji encoding - replace surrogate pairs with proper Unicode escape
Verified signature3d416f8 -
Create requirements.txt
Verified signature0154f71 -
Create app.py
Verified signatureb5dac7e -
initial commit
Verified signature5985f02