Thanh Vinh Vo
commited on
Commit
·
d60b7f8
1
Parent(s):
d5bc8fc
update
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ class BasicAgent:
|
|
| 57 |
"img2text"
|
| 58 |
],
|
| 59 |
name="multimodal_agent",
|
| 60 |
-
description="I can understand natural language and
|
| 61 |
verbosity_level=0,
|
| 62 |
max_steps=10,
|
| 63 |
)
|
|
@@ -79,7 +79,7 @@ class BasicAgent:
|
|
| 79 |
"img2text"
|
| 80 |
],
|
| 81 |
name="code_agent",
|
| 82 |
-
description="I am strong at writing code.",
|
| 83 |
verbosity_level=0,
|
| 84 |
max_steps=10,
|
| 85 |
)
|
|
@@ -88,7 +88,7 @@ class BasicAgent:
|
|
| 88 |
model=InferenceClientModel(
|
| 89 |
"Qwen/Qwen2.5-32B-Instruct"
|
| 90 |
),
|
| 91 |
-
tools=[],
|
| 92 |
managed_agents=[self.multimodal_agent, self.code_agent],
|
| 93 |
additional_authorized_imports=[
|
| 94 |
"requests",
|
|
|
|
| 57 |
"img2text"
|
| 58 |
],
|
| 59 |
name="multimodal_agent",
|
| 60 |
+
description="I can understand natural language and I am optimised for visual recognition, image reasoning, captioning, and answering general questions about an image.",
|
| 61 |
verbosity_level=0,
|
| 62 |
max_steps=10,
|
| 63 |
)
|
|
|
|
| 79 |
"img2text"
|
| 80 |
],
|
| 81 |
name="code_agent",
|
| 82 |
+
description="I am strong at writing code to solve problem.",
|
| 83 |
verbosity_level=0,
|
| 84 |
max_steps=10,
|
| 85 |
)
|
|
|
|
| 88 |
model=InferenceClientModel(
|
| 89 |
"Qwen/Qwen2.5-32B-Instruct"
|
| 90 |
),
|
| 91 |
+
tools=[get_file_location],
|
| 92 |
managed_agents=[self.multimodal_agent, self.code_agent],
|
| 93 |
additional_authorized_imports=[
|
| 94 |
"requests",
|