Spaces:
Runtime error
Runtime error
gabrielchua
commited on
Commit
•
56bd410
1
Parent(s):
b9eac8a
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def extract_receipt_info(image):
|
|
32 |
"content": [
|
33 |
{
|
34 |
"type": "text",
|
35 |
-
"text": "Your task is to extract key information from the provided receipt image.\n\
|
36 |
},
|
37 |
{
|
38 |
"type": "image_url",
|
|
|
32 |
"content": [
|
33 |
{
|
34 |
"type": "text",
|
35 |
+
"text": "Your task is to extract key information from the provided receipt image.\n\nONLY reply with a table.\n\Follow this schema:\n1. item (str), name of the item\n2. price (float), price of the item\n3. quantity (int), quantity of the item\n4. total (float), total cost for the item.\n\nRemember to just end with the table."
|
36 |
},
|
37 |
{
|
38 |
"type": "image_url",
|