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

Update app.py

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