Spaces:
Build error
Build error
Updated
Browse files
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": "
|
| 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
|