Rooni commited on
Commit
c26fd8f
·
verified ·
1 Parent(s): 464dd68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def ask_openai_with_image(instruction, image):
37
  "content": start,
38
  },
39
  {
40
- "type": "image",
41
  "role": "user",
42
  "content": f"data:image/jpeg;base64,{base64_image}"
43
  },
 
37
  "content": start,
38
  },
39
  {
40
+ "type": "image_url",
41
  "role": "user",
42
  "content": f"data:image/jpeg;base64,{base64_image}"
43
  },