aiXpert commited on
Commit
eec0ef4
1 Parent(s): e3cb0b8
Files changed (1) hide show
  1. README.md +13 -16
README.md CHANGED
@@ -1,16 +1,13 @@
1
- # AI-powered Receipt Bot
2
-
3
- The application is designed to process electronic and scanned receipts.
4
- It sendsthese images to an LLM model, which extracts detailed information from the receipts.
5
- Then, it stores this information in a database.
6
-
7
- The app has two main parts: uploading and processing receipt images, and displaying the extracted data.
8
-
9
- The `process_image(image)` function takes an uploaded image, encodes it, and then sends a request to OpenAI’s API with the encoded image and the instructions on what information to extract.
10
-
11
- The response from OpenAI’s API, which includes the extracted data in JSON format, is then processed.
12
-
13
- The function extracts the relevant data from this JSON and inserts it into the MySQL database.
14
-
15
- The database insertion involves two steps: first, inserting the receipt headerinformation, and then inserting details about each line item on the receipt.
16
-
 
1
+ ---
2
+ title: ReceiptBot
3
+ emoji: 📈
4
+ colorFrom: yellow
5
+ colorTo: indigo
6
+ sdk: streamlit
7
+ sdk_version: 1.33.0
8
+ app_file: AI-Powered_Receipt_Bot.py
9
+ pinned: false
10
+ license: apache-2.0
11
+ ---
12
+
13
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference