From d8a7452713885473a53395ee295f4aa66047b132 Mon Sep 17 00:00:00 2001 From: Gopikrishnan Rajeev Date: Sun, 10 May 2026 14:42:58 -0400 Subject: [PATCH 1/3] Added torch to requirements --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 056d362..ff68dbf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +torch fastapi uvicorn ollama From 56f179183b7bcc297c6caa352323ed9954ca0684 Mon Sep 17 00:00:00 2001 From: Ayush Mandowara Date: Mon, 11 May 2026 19:11:26 +0530 Subject: [PATCH 2/3] Fix Vercel deployment limits and add live badge --- .vercelignore | 7 +++++++ README.md | 2 ++ index.html | 10 ++++++++++ main.py | 4 +++- products.json | 27 +++++++++++++++++++++++++++ 5 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 .vercelignore diff --git a/.vercelignore b/.vercelignore new file mode 100644 index 0000000..0e20cd1 --- /dev/null +++ b/.vercelignore @@ -0,0 +1,7 @@ +main.py +requirements.txt +run.sh +venv/ +product_images/ +qdrant_db/ +.env diff --git a/README.md b/README.md index e5760c3..2a21f0b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # KiranaAI — Visual Billing Counter +[![Try Live](https://img.shields.io/badge/Try%20Live-Click%20Here-success?style=for-the-badge)](https://amd-hackathon-three.vercel.app/) + A local grocery/retail billing system that uses multimodal AI to identify products from photos and populate the bill automatically. Built for offline-first operation in small Indian retail shops. ## The Problem diff --git a/index.html b/index.html index e2bbd81..ddf756b 100644 --- a/index.html +++ b/index.html @@ -11,6 +11,16 @@ + +
diff --git a/main.py b/main.py index 034b401..359e406 100644 --- a/main.py +++ b/main.py @@ -20,7 +20,9 @@ # ── Config ────────────────────────────────────────────────────────────────── MODEL_NAME = "gemma4:e4b" -OLLAMA_HOST = "http://127.0.0.1:11434" +# MODEL_NAME = "qwen2.5vl:3b" +# OLLAMA_HOST = "http://127.0.0.1:11434" +OLLAMA_HOST = "https://1a49-70-50-135-109.ngrok-free.app" EMBED_MODEL = "google/siglip-base-patch16-224" VECTOR_DIM = 768 QDRANT_PATH = "./qdrant_db" diff --git a/products.json b/products.json index 4d9979f..34d5926 100644 --- a/products.json +++ b/products.json @@ -88,6 +88,33 @@ "price": 1200.00, "keywords": ["glutamine power", "supplement", "black jar", "gym powder", "fitness"], "category": "Supplements" + }, + { + "id": "SKU-011", + "name": "Dexolac Nusobee Lactose Free Baby Powder", + "brand": "Dexolac", + "unit": "400g", + "price": 500.00, + "keywords": ["dexolac", "nusobee", "lactose free", "baby powder", "formula"], + "category": "Baby Care" + }, + { + "id": "SKU-012", + "name": "Eno Fruit Salt Lemon Flavor", + "brand": "Eno", + "unit": "100g", + "price": 150.00, + "keywords": ["eno", "fruit salt", "acidity", "digestion", "lemon flavor"], + "category": "Health Care" + }, + { + "id": "SKU-013", + "name": "Little's Baby Diapers", + "brand": "Little's", + "unit": "30 Pieces", + "price": 350.00, + "keywords": ["littles", "diapers", "baby", "pampers", "pants"], + "category": "Baby Care" } ] From 02ad31095c839fca8b2bcdeed87af0e47e9b4fb5 Mon Sep 17 00:00:00 2001 From: Ayush Mandowara Date: Mon, 11 May 2026 19:14:46 +0530 Subject: [PATCH 3/3] Add vercel.json to force static deployment --- vercel.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..1989001 --- /dev/null +++ b/vercel.json @@ -0,0 +1,5 @@ +{ + "framework": null, + "buildCommand": null, + "outputDirectory": "." +}