Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ def analyze_image(image, instruction):
|
|
| 37 |
|
| 38 |
# Call the Groq API to analyze the image
|
| 39 |
completion = client.chat.completions.create(
|
| 40 |
-
model="llama-3.2-
|
| 41 |
messages=[
|
| 42 |
{"role": "user", "content": instruction}, # Text instruction
|
| 43 |
{"role": "user", "content": [{"type": "image_url", "image_url": {"url": image_url}}]}, # Image
|
|
|
|
| 37 |
|
| 38 |
# Call the Groq API to analyze the image
|
| 39 |
completion = client.chat.completions.create(
|
| 40 |
+
model="llama-3.2-11b-vision-preview",
|
| 41 |
messages=[
|
| 42 |
{"role": "user", "content": instruction}, # Text instruction
|
| 43 |
{"role": "user", "content": [{"type": "image_url", "image_url": {"url": image_url}}]}, # Image
|