Spaces:
Sleeping
Sleeping
| 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 | |