• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

galthran-wq / clip-web-service / 23550511119
89%

Build:
DEFAULT BRANCH: master
Ran 25 Mar 2026 03:55PM UTC
Jobs 1
Files 11
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Mar 2026 03:54PM UTC coverage: 89.247% (-1.7%) from 90.909%
23550511119

push

github

web-flow
Add CLIP zero-shot classification endpoint (#1)

* Add CLIP zero-shot classification endpoint using onnx_clip

Replace template placeholder with a working CLIP inference service.
Uses onnx_clip (ONNX Runtime) instead of PyTorch for lightweight
CPU inference (~5-10ms/image, ~70MB deps vs ~1.5GB for torch).

- POST /classify/batch: accepts base64 images + text prompts, returns
  softmax probabilities
- CLIPService wraps OnnxClip with base64 decoding and batch inference
- Readiness probe gates on model loaded state (503 until ready)
- 18 tests, 90% coverage, mypy strict clean

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Fix per-image softmax normalization

Applied via @cursor push command

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>

75 of 89 new or added lines in 8 files covered. (84.27%)

166 of 186 relevant lines covered (89.25%)

0.89 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
69.7
-9.61% src/main.py
10
62.96
src/services/clip_service.py
Jobs
ID Job ID Ran Files Coverage
1 23550511119.1 25 Mar 2026 03:55PM UTC 11
89.25
GitHub Action Run
Source Files on build 23550511119
  • Tree
  • List 11
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23550511119
  • ceda6d19 on github
  • Prev Build on master (#23548386542)
  • Next Build on master (#23551707052)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc