The NSFW rule now tells the model to inspect the actual image for adult
content and flag it even when the bio text is innocuous, explicitly
overriding the text-first guidance.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Guard against paste-time perpetual-resize loop
Joseph Antolick+1: Claude Opus 4.8
9dee630
Bind the paste listener once (demo.load can re-run on reconnect) with a busy
lock so a single Ctrl-V can't trigger overlapping injects, and pin the image
to a fixed height so its layout can't feed a ResizeObserver loop.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Only run a check on button press, not on paste/upload
Joseph Antolick+1: Claude Opus 4.8
d40ce7b
Removed the image upload/paste auto-trigger; pasting now just loads the
image and the user presses the button to analyze.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Disable the Check button while a check is running
Joseph Antolick+1: Claude Opus 4.8
8e5e42f
Both the click and paste/upload paths toggle the button off before analyze
and back on after.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Update description; flag NSFW and crypto as signals
Joseph Antolick+1: Claude Opus 4.8
ff18b7e
New longer description blurb. Prompt now always adds an "NSFW" signal (and
notes it in the rationale) for adult content, and a "crypto" signal for
crypto/web3 mentions, placed first so the signal cap can't drop them.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add torchvision (required by Gemma 4 image processor)
Joseph Antolick+1: Claude Opus 4.8
63c0539
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Shorten Space short_description to <=60 chars
Joseph Antolick+1: Claude Opus 4.8
9e85ee8
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Rename Crankycheck -> TemperCheck
Joseph Antolick+1: Claude Opus 4.8
aa00509
Package crankycheck/ -> tempercheck/, CrankyVerdict -> TemperVerdict,
CRANKY_* env vars -> TEMPER_*, plus all UI copy, prompt branding, README
Space card, and docs. Behavior unchanged; tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
ZeroGPU-ready transformers backend for HF Spaces (auto-selected via SPACE_ID),
with a local Ollama backend for UI work. Prompt scores hostility/sarcasm,
pride-in-conflict, and explicit warning signs. Defensive JSON parsing + tests.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>