Commit History
-
Add notice image guidance and update runtime docs
Abid Ali Awan +1: CodexShow a clear warning when an uploaded image has no readable notice text, and document the English-only ZeroGPU Transformers deployment. Co-authored-by: Codex <codex@openai.com>edecb11
-
Remove shadow and border from hero image
Abid Ali Awan +1: CodexCo-authored-by: Codex <codex@openai.com>0eae957 -
Update disclaimer to indigo color scheme
Abid Ali Awan +1: CodexCo-authored-by: Codex <codex@openai.com>58375e0 -
Update hero image
Abid Ali Awan +1: CodexCo-authored-by: Codex <codex@openai.com>32fad0d -
Update hero image
Abid Ali Awan +1: CodexCo-authored-by: Codex <codex@openai.com>4bc9158 -
Add hero image
Abid Ali Awan42e4991 -
Replace feature list with hero image
Abid Ali Awan +1: CodexRemove feature bullets, add hero.png on the right column. Co-authored-by: Codex <codex@openai.com>277295b -
Replace trust note with feature list in hero
Abid Ali Awan +1: CodexShows three key capabilities: red flags, suspicious links, and safer next steps. More scannable than a paragraph. Co-authored-by: Codex <codex@openai.com>92c79fe -
Tighten hero and disclaimer copy
Abid Ali Awan +1: CodexShorter, more direct wording. Less formal, more actionable. Co-authored-by: Codex <codex@openai.com>3c3c384 -
Improve logo, status badge, and risk colors
Abid Ali Awan +1: Codex- New logo: gradient background, subtle circle, cleaner checkmark - Status badge: emerald green for connected, amber for checking, backdrop blur, slightly larger - Risk colors: updated to use modern Tailwind-style palette that matches the indigo/coral website scheme - Brand mark: slightly larger (42px) Co-authored-by: Codex <codex@openai.com>2e62e8a -
Add hero section explaining what NoticeCheck does
Abid Ali Awan +1: CodexUses existing CSS classes (hero, trust-note, shield) for consistent styling. Shows the tagline, description, and trust note. Co-authored-by: Codex <codex@openai.com>54ef709 -
Replace Nemotron OCR v2 with Nemotron-Parse-v1.2
Abid Ali Awan +1: CodexSwitch OCR backend from the nemotron-ocr wheel (binary, pinned PyTorch/CUDA) to nvidia/NVIDIA-Nemotron-Parse-v1.2 via transformers. This removes the custom torch/torchvision pins and the CUDA index URL. - Rewrite ocr.py to use AutoModel + AutoProcessor + postprocessing - Remove nemotron-ocr wheel, torch, torchvision from requirements - Add timm and albumentations dependencies - Remove Urdu-script OCR restriction - Update model status labels and error messages Co-authored-by: Codex <codex@openai.com>a03a0fe -
Fix ZeroGPU token: spread response object as headers
Abid Ali Awan +1: CodexThe HF iframe postMessage response is an object of headers, not a plain string. Previous code sent [object Object] as the token value. Now uses Object.assign to spread headers properly. Co-authored-by: Codex <codex@openai.com>00cc88d -
Request x-ip-token from HF iframe for ZeroGPU PRO quota
Abid Ali Awan +1: CodexThe handshake sets window.supports_zerogpu_headers but the raw fetch() calls never request the actual token from the HF parent iframe. Add requestZeroGpuToken() that uses postMessage with a MessageChannel (same as @gradio/client JS) to fetch the token before each API call, and include it as x-ip-token header. Co-authored-by: Codex <codex@openai.com>27b6c4e -
Fix ZeroGPU quota: add x-ip-token handshake for HF iframe
Abid Ali Awan +1: Codexgr.Server custom frontends don't perform the postMessage handshake with the HF parent iframe, so the @gradio/client JS never fetches the x-ip-token. All requests are treated as unauthenticated (IP- based ~2 min quota) regardless of login or PRO status. Add the handshake from Gradio's Svelte frontend (Index.svelte) so logged-in users get their proper quota applied. Fixes gradio-app/gradio#13209 Co-authored-by: Codex <codex@openai.com>db68987 -
Catch ZeroGPU quota errors and reduce GPU duration to 45s
Abid Ali Awan +1: CodexDistinguish ZeroGPU quota exhaustion from model parsing failures so users see a clear 'GPU quota exceeded' message instead of the misleading 'incomplete response' error. Reduce @spaces.GPU duration from 60s to 45s to conserve quota. Co-authored-by: Codex <codex@openai.com>429a368 -
Handle malformed and Urdu OCR responses
Retry malformed MiniCPM JSON with a strict repair turn, expose ZeroGPU CUDA status, and return a clear unsupported-language message for Urdu-script screenshots. Co-Authored-By: Codex <codex@openai.com>b9df8c6 -
Separate Space and local model runtimes
Run MiniCPM5-1B through Transformers on ZeroGPU while keeping llama.cpp and the GGUF model in a dedicated local dependency path. Co-Authored-By: Codex <codex@openai.com>cc3c1a2 -
Open NoticeCheck directly at the checker
Hide the Urdu interface, remove the landing hero, and add README author attribution. Co-Authored-By: Codex <codex@openai.com>857d3e9 -
Fix NoticeCheck runtime and final styling
Abid Ali Awan +1: OpenAI CodexPreload the CUDA runtime for Nemotron OCR, increase MiniCPM output capacity, show both local models, and remove inherited green accents. Co-authored-by: OpenAI Codex <codex@openai.com>67a2445 -
Refactor and rebrand app as NoticeCheck
Abid Ali Awan +1: OpenAI CodexRun MiniCPM5-1B through llama-cpp-python and use Nemotron OCR v2 for screenshot extraction on ZeroGPU. Co-authored-by: OpenAI Codex <codex@openai.com>6cf9641
-
Fix Urdu analysis reliability
Retry incomplete model JSON with a larger Urdu token budget, prevent trace failures from hiding successful assessments, show localized backend errors, and preserve LTR input direction for English messages in Urdu mode. Co-authored-by: Codex <codex@openai.com>f5bd1fa
-
Restore previous Urdu font
Abid Ali Awan +1: CodexRemove the bundled Nastaliq font and return the Urdu interface to the original system Arabic font stack while retaining the improved layout and copy. Co-Authored-By: Codex <noreply@openai.com>cde909f -
Polish Urdu interface typography
Abid Ali Awan +1: CodexBundle Noto Nastaliq Urdu, improve natural Urdu copy, and refine RTL spacing and responsive typography across the interface. Co-Authored-By: Codex <noreply@openai.com>04717ef -
Add English and Urdu interface
Abid Ali Awan +1: CodexAdd a persistent language toggle, full Urdu RTL localization, translated interface states, and Urdu model responses for live assessments. Co-Authored-By: Codex <noreply@openai.com>3fae071 -
Switch production inference to Qwen3.5 4B
Abid Ali Awan +1: CodexPromote the evaluated Qwen3.5 4B Q8 Modal endpoint, update the model prompt and current documentation, and preserve the MiniCPM and model-comparison experiment artifacts. Co-Authored-By: Codex <codex@openai.com>543a857 -
Remove runtime header tags
Abid Ali Awan +1: CodexCo-Authored-By: Codex <codex@openai.com>2915817 -
Show model runtime badges
Abid Ali Awan +1: CodexCo-Authored-By: Codex <codex@openai.com>baaf573 -
Add readable redacted trace summaries
Abid Ali Awan +1: CodexCo-Authored-By: Codex <codex@openai.com>09e22a1 -
Add deterministic privacy-safe trace dataset
Abid Ali Awan +1: CodexCo-Authored-By: Codex <codex@openai.com>f619a9b -
Store model-generated example cache
Abid Ali Awan +1: codexCo-Authored-By: codex <codex@openai.com>70a95d6 -
Cache built-in example assessments
Abid Ali Awan +1: codexCo-Authored-By: codex <codex@openai.com>25f0a2d -
Fix AI safety callout layout
Abid Ali Awan +1: codexCo-Authored-By: codex <codex@openai.com>77d0206 -
Align scam screenshot card heights
Abid Ali Awan +1: codexCo-Authored-By: codex <codex@openai.com>9162231 -
Explain the AI safety-check workflow
Abid Ali Awan +1: codexCo-Authored-By: codex <codex@openai.com>02aa0f9 -
Show reply drafts only for uncertain assessments
Abid Ali Awan +1: codexCo-Authored-By: codex <codex@openai.com>ba5daa5 -
Fix scam screenshot aspect ratios
Abid Ali Awan +1: codexCo-Authored-By: codex <codex@openai.com>2e3c937 -
Deploy Pakistan Notice Helper to Hugging Face Spaces
Abid Ali Awan2a071e1