Update tools.py
Browse files
tools.py
CHANGED
|
@@ -47,7 +47,6 @@ class image_interpreter(Tool):
|
|
| 47 |
'image': {"type": "image", "description": "the image of interest"},
|
| 48 |
'prompt': {"type": "string", "description": "Any specific question you have on the image. For example, the prompt can be : Summarise this image in one sentence."}
|
| 49 |
}
|
| 50 |
-
output_type = "image"
|
| 51 |
output_type = "string"
|
| 52 |
|
| 53 |
def forward(self, prompt, image):
|
|
|
|
| 47 |
'image': {"type": "image", "description": "the image of interest"},
|
| 48 |
'prompt': {"type": "string", "description": "Any specific question you have on the image. For example, the prompt can be : Summarise this image in one sentence."}
|
| 49 |
}
|
|
|
|
| 50 |
output_type = "string"
|
| 51 |
|
| 52 |
def forward(self, prompt, image):
|