Spaces:
Runtime error
A newer version of the Gradio SDK is available: 6.19.0
LinkedIn Post Draft
We built DiffSense for the Hugging Face Build Small hackathon: a private, local-first pull request reviewer for teams that cannot send proprietary code to cloud review bots.
The idea is simple:
Paste a unified diff or public GitHub PR URL. Get severity-tagged review findings. Read inline comments attached to changed lines. Copy structured JSON into your PR workflow.
The core review path is deterministic and runs inside the app process, so the demo stays useful even when model providers are cold, rate-limited, or unavailable. Then we add optional small-model bridges for the hackathon stack:
- JetBrains Mellum 2 for code-review summaries
- NVIDIA Nemotron 3 Nano for agentic routing and triage
- NVIDIA Nemotron 3 Nano 4B for a Tiny Titan checker pass
- OpenBMB MiniCPM-V 4.6 for PR screenshots, diagrams, and UI context
- Modal through a provider bridge for hosted inference
The Space also has a persistent /data bucket mount with local checkpoint slots, so the app is ready for ZeroGPU/local model runs without putting weights in the repo.
What I like most about this project is that it is not a chat UI pretending to be a code-review tool. DiffSense renders a custom inline diff view with file headers, hunk headers, line numbers, severity badges, comments, suggested fixes, and machine-readable JSON.
Built with Gradio, Hugging Face Spaces, Codex, and open model targets under the Build Small constraints.
Try the Space: https://huggingface.co/spaces/build-small-hackathon/DiffSense
#BuildSmall #HuggingFace #Gradio #LocalAI #CodeReview #OpenSource #AIEngineering
Shorter Version
We shipped DiffSense for the Hugging Face Build Small hackathon.
It is a private, local-first PR reviewer: paste a diff or public GitHub PR URL, get inline severity-tagged findings and structured JSON without relying on a SaaS code review bot.
The app has a deterministic review engine for reliability, plus optional bridges for Mellum 2, Nemotron 3 Nano, Tiny Titan, MiniCPM-V 4.6, Modal, and persistent /data checkpoint slots.
The result is not a chat transcript. It is a real code-review artifact: inline comments, hunk-level findings, suggested fixes, and JSON output.
Space: https://huggingface.co/spaces/build-small-hackathon/DiffSense
#BuildSmall #HuggingFace #Gradio #LocalAI #CodeReview