Update tools.py
Browse files
tools.py
CHANGED
|
@@ -48,7 +48,7 @@ def extract_text(img_path: str) -> str:
|
|
| 48 |
return ""
|
| 49 |
|
| 50 |
|
| 51 |
-
|
| 52 |
"""
|
| 53 |
Generate a detailed description of an image using a multimodal model.
|
| 54 |
|
|
|
|
| 48 |
return ""
|
| 49 |
|
| 50 |
|
| 51 |
+
def describe_image(img_path: str, query: str) -> str:
|
| 52 |
"""
|
| 53 |
Generate a detailed description of an image using a multimodal model.
|
| 54 |
|