gabrielchua commited on
Commit
3c8b860
1 Parent(s): 5a546e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -37,8 +37,7 @@ def extract_receipt_info(image):
37
  {
38
  "type": "image_url",
39
  "image_url": {
40
- "url": image
41
- }
42
  }
43
  ]
44
  },
 
37
  {
38
  "type": "image_url",
39
  "image_url": {
40
+ "url": f"data:image/jpeg;base64,{base64_image}", }
 
41
  }
42
  ]
43
  },