CreatorJarvis commited on
Commit
f86a341
·
verified ·
1 Parent(s): f661be0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -27,6 +27,8 @@ Only return valid JSON in the following form:
27
  "drink_items": []
28
  }
29
 
 
 
30
  processor = AutoProcessor.from_pretrained(BASE_MODEL_ID)
31
 
32
  print(f"[INFO] Loading Base Model: {BASE_MODEL_ID}")
@@ -60,7 +62,7 @@ def extract_foods_from_image(input_image):
60
  {
61
  "role": "user",
62
  "content": [
63
- {"type": "image" , "image": input_image ,},
64
  {"type": "text", "text": USER_PROMPT}
65
  ]
66
  }
 
27
  "drink_items": []
28
  }
29
 
30
+ """
31
+
32
  processor = AutoProcessor.from_pretrained(BASE_MODEL_ID)
33
 
34
  print(f"[INFO] Loading Base Model: {BASE_MODEL_ID}")
 
62
  {
63
  "role": "user",
64
  "content": [
65
+ {"type": "image" , "image": input_image },
66
  {"type": "text", "text": USER_PROMPT}
67
  ]
68
  }