kuzumab commited on
Commit
6aae0f8
·
verified ·
1 Parent(s): 0702614

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -102,8 +102,10 @@ class BasicAgent:
102
  # api_base="https://api.siliconflow.cn/v1/",
103
  # api_key=os.getenv('MODEL_TOKEN'),
104
  # )
105
-
106
- self.tools = [AttachmentDownloadTool, ImageCaptionTool, AudioToTextTool]
 
 
107
 
108
  web_agent = ToolCallingAgent(
109
  tools=[DuckDuckGoSearchTool(), VisitWebpageTool()],
 
102
  # api_base="https://api.siliconflow.cn/v1/",
103
  # api_key=os.getenv('MODEL_TOKEN'),
104
  # )
105
+ attachment_tool=AttachmentDownloadTool()
106
+ image_tool=ImageCaptionTool()
107
+ audio_tool=AudioToTextTool()
108
+ self.tools = [attachment_tool,image_tool,audio_tool]
109
 
110
  web_agent = ToolCallingAgent(
111
  tools=[DuckDuckGoSearchTool(), VisitWebpageTool()],