Update crew.py
Browse files
crew.py
CHANGED
|
@@ -182,7 +182,7 @@ def run_crew(question, file_path):
|
|
| 182 |
response = client.responses.create(
|
| 183 |
input=[{"role": "user",
|
| 184 |
"content": [{"type": "input_text", "text": (question)},
|
| 185 |
-
*[{"type": "input_image", "image_url": f"data:image/jpeg;base64,{img_b64}"} for img_b64 in imgs_b64
|
| 186 |
model=VIDEO_MODEL
|
| 187 |
)
|
| 188 |
|
|
|
|
| 182 |
response = client.responses.create(
|
| 183 |
input=[{"role": "user",
|
| 184 |
"content": [{"type": "input_text", "text": (question)},
|
| 185 |
+
*[{"type": "input_image", "image_url": f"data:image/jpeg;base64,{img_b64}"} for img_b64 in imgs_b64]]}],
|
| 186 |
model=VIDEO_MODEL
|
| 187 |
)
|
| 188 |
|