Update agent.py
Browse files
agent.py
CHANGED
|
@@ -52,7 +52,6 @@ class BasicAgent():
|
|
| 52 |
|
| 53 |
|
| 54 |
def assistant(self, state: AgentState):
|
| 55 |
-
image = state["input_file"]
|
| 56 |
textual_description_of_tool="""
|
| 57 |
extract_text(img_path: str) -> str:
|
| 58 |
Extract text from an image file using a multimodal model.
|
|
|
|
| 52 |
|
| 53 |
|
| 54 |
def assistant(self, state: AgentState):
|
|
|
|
| 55 |
textual_description_of_tool="""
|
| 56 |
extract_text(img_path: str) -> str:
|
| 57 |
Extract text from an image file using a multimodal model.
|