nabeelarain713 commited on
Commit
e8c020b
·
verified ·
1 Parent(s): 16aea0b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def send_to_gemini(drawing_path):
59
  "type": "text",
60
  "text": "Give me the answer of any mathematical representation in the image with the complete solution, and does not say the image contains etc.",
61
  },
62
- {"type": "image", "image": drawing_path},
63
  ]
64
  )
65
  response = llm.invoke([message]).content
 
59
  "type": "text",
60
  "text": "Give me the answer of any mathematical representation in the image with the complete solution, and does not say the image contains etc.",
61
  },
62
+ {"type": "image_url", "image_url": drawing_path},
63
  ]
64
  )
65
  response = llm.invoke([message]).content