File size: 928 Bytes
4d7e82a
 
 
 
 
 
 
 
 
 
 
 
101e099
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
title: REventWatcher
emoji: 😻
colorFrom: red
colorTo: purple
sdk: gradio
sdk_version: 5.34.1
app_file: app.py
pinned: false
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

# Price-Tag Parser 🤖🏷️

A Gradio web app that lets you **upload one or more retail price-tag photos** and returns:

* A structured **JSON** list of every product it can read  
* A downloadable **Excel (.xlsx)** file with the same data

The app relies on **GPT-4o-Vision** via OpenAI’s API to perform OCR + understanding in one go, guided by a strict JSON schema.

---

## 🌟 Quick start (local)

```bash
git clone https://huggingface.co/spaces/YOUR_USERNAME/price-tag-parser
cd price-tag-parser
python -m venv venv && source venv/bin/activate          # optional
pip install -r requirements.txt
export OPENAI_API_KEY="sk-..."                            # <-- your key
python app.py