Spaces:
Sleeping
Sleeping
muted the image
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def predict(image, text):
|
|
37 |
# Prepare the input messages
|
38 |
messages = [
|
39 |
{"role": "user", "content": [
|
40 |
-
|
41 |
{"type": "text", "text": text} # Add the user-provided text input
|
42 |
]}
|
43 |
]
|
|
|
37 |
# Prepare the input messages
|
38 |
messages = [
|
39 |
{"role": "user", "content": [
|
40 |
+
# {"type": "image"}, # Specify that an image is provided
|
41 |
{"type": "text", "text": text} # Add the user-provided text input
|
42 |
]}
|
43 |
]
|