Commit History
-
Document local CUDA deployment
Abid Ali Awan +1: CodexAdd the GitHub clone, Git LFS, NVIDIA Container Toolkit, and in-container CUDA verification steps to the Space README. Co-authored-by: Codex <codex@openai.com>b92e8d4 -
Validate Docker image assets
Abid Ali Awan +1: CodexFail Docker builds clearly when Git LFS-backed interface images have not been downloaded. Co-authored-by: Codex <codex@openai.com>72b3151 -
Show saved traces in the default dataset view
Abid Ali Awan +1: CodexRestore runtime traces as the default configuration and retain the reviewed seed records under a separate examples configuration. Co-authored-by: Codex <codex@openai.com>ba935c7 -
Fix trace dataset presentation
Abid Ali Awan +1: CodexSeparate reviewed seed examples from noisy operational traces, correct the dataset viewer path configuration, and update the runtime documentation. Co-authored-by: Codex <codex@openai.com>c93cae8 -
Add local AI field notes
Abid Ali Awan +1: CodexDocument the model, ZeroGPU, OCR, structured-output, and Docker lessons behind making NoticeCheck locally deployable. Co-authored-by: Codex <codex@openai.com>453edd1 -
Add GitHub repository link
Abid Ali Awan +1: CodexInclude the public source repository in the README project links. Co-authored-by: Codex <codex@openai.com>4c1b9da -
Add project and community links
Abid Ali Awan +1: CodexLink the live Space, LinkedIn announcement, demo GIF, and privacy-safe trace dataset from the README. Co-authored-by: Codex <codex@openai.com>7857cb5 -
Prepare public GitHub release
Abid Ali Awan +1: CodexFix the CUDA Docker build, simplify the project documentation, and add the NoticeCheck demo. Co-authored-by: Codex <codex@openai.com>0b268cb -
Make image upload guidance wrapper-independent
Abid Ali Awan +1: CodexMap image-only generation failures to the notice upload warning without relying on exception text hidden by the ZeroGPU wrapper. Co-authored-by: Codex <codex@openai.com>7cfef5a -
Handle invalid image generation as upload guidance
Abid Ali Awan +1: CodexReturn the notice-image warning when an image-only request cannot produce a valid structured assessment, while preserving quota and text-model errors. Co-authored-by: Codex <codex@openai.com>4149e50 -
Add local CUDA deployment and reject non-notice images
Abid Ali Awan +1: CodexAdd a Docker Compose Transformers runtime for local NVIDIA GPUs and use Nemotron semantic classes to reject picture-only uploads before MiniCPM generation. Co-authored-by: Codex <codex@openai.com>8ccb3e9 -
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 -
Update README.md
Verified signatured33de76
-
Update README for Nemotron-Parse and simplified stack
Abid Ali Awan +1: CodexRemove llama.cpp references, update OCR model, simplify layout. Co-authored-by: Codex <codex@openai.com>8b312c6 -
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 -
Simplify status badge text
Abid Ali Awan +1: CodexCo-authored-by: Codex <codex@openai.com>fb8ab7d -
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 -
Remove logging from app modules
Abid Ali Awan +1: CodexCo-authored-by: Codex <codex@openai.com>ed9b3cc -
Add fallback values for empty red_flags and safe_next_steps
Abid Ali Awan +1: CodexWhen MiniCPM5-1B returns empty arrays, provide sensible defaults instead of rejecting the entire response. Co-authored-by: Codex <codex@openai.com>23aaddf -
Preload Nemotron-Parse model at startup
Abid Ali Awan +1: CodexDownload and load the OCR model during app startup instead of on the first request. This avoids the long delay when a user first clicks 'Check this notice'. Co-authored-by: Codex <codex@openai.com>e289ef1 -
Add ftfy and ensure all Nemotron-Parse deps present
Abid Ali Awan +1: CodexCo-authored-by: Codex <codex@openai.com>4fce1f3 -
Add missing open_clip_torch dependency
Abid Ali Awan +1: CodexCo-authored-by: Codex <codex@openai.com>be3b82a -
Add missing einops dependency for Nemotron-Parse
Abid Ali Awan +1: CodexCo-authored-by: Codex <codex@openai.com>4c4a039 -
Log detailed error when Nemotron-Parse fails to load
Abid Ali Awan +1: CodexCo-authored-by: Codex <codex@openai.com>b5fbf31 -
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 -
Add logging for model response diagnostics on Spaces
Abid Ali Awan +1: CodexAdd structured logging to model_endpoint.py and service.py so model failures are visible in Space runtime logs. Logs include raw model output, JSON parse errors, normalization failures, and retry attempt details. Co-authored-by: Codex <codex@openai.com>c6454a8 -
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 -
Remove temporary runtime probes
Delete the fixed-input diagnostic API routes after validating both deployed model workflows. Co-Authored-By: Codex <codex@openai.com>26a1970 -
Match Nemotron OCR PyTorch ABI
Use the supported CUDA 12.8 torch 2.9.1 and torchvision 0.24.1 pair required by NVIDIA's native OCR extension. Co-Authored-By: Codex <codex@openai.com>cc23813 -
Add temporary OCR runtime probe
Use the bundled public screenshot to identify the deployed Nemotron OCR failure stage without exposing user data. Co-Authored-By: Codex <codex@openai.com>e22d004 -
Simplify MiniCPM JSON instructions
Describe the assessment keys directly instead of embedding JSON Schema that the 1B model copied into its response. Co-Authored-By: Codex <codex@openai.com>20440cf -
Create tensor chat inputs for MiniCPM
Request PyTorch tensors and a batch mapping from the chat template before ZeroGPU generation. Co-Authored-By: Codex <codex@openai.com>9d32812 -
Pin the ZeroGPU PyTorch pair
Pin torch 2.8.0 and torchvision 0.23.0 to avoid the torchvision NMS binary mismatch on the supported ZeroGPU runtime. Co-Authored-By: Codex <codex@openai.com>bc238e2 -
Trace Space loader exception chain
Capture the sanitized lazy-import exception chain in the temporary fixed-input runtime probe. Co-Authored-By: Codex <codex@openai.com>e7ac81c -
Report chained Space loader error
Include the sanitized underlying model-loader exception in the temporary fixed-input runtime probe. Co-Authored-By: Codex <codex@openai.com>1f07499 -
Add temporary Space runtime probe
Expose a fixed-input sanitized diagnostic route to identify the deployed Transformers failure stage. Co-Authored-By: Codex <codex@openai.com>24a92bb -
Use MiniCPM Transformers generation flow
Load MiniCPM with automatic dtype and device mapping and prepare chat inputs exactly as documented by the model card. Co-Authored-By: Codex <codex@openai.com>ede31c9 -
Match NVIDIA Nemotron OCR dependencies
Use NVIDIA's CUDA 12.8 PyTorch and torchvision requirement set for Nemotron OCR while retaining the Space's Transformers inference dependencies. Co-Authored-By: Codex <codex@openai.com>c374908