Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from smolagents import CodeAgent, InferenceClientModel, OpenAIServerModel, Final
|
|
| 4 |
import requests
|
| 5 |
import inspect
|
| 6 |
import pandas as pd
|
| 7 |
-
from tools import search_tool, google_search_tool, visit_web_tool, file_download_tool
|
| 8 |
|
| 9 |
# (Keep Constants as is)
|
| 10 |
# --- Constants ---
|
|
@@ -37,7 +37,7 @@ You will receive questions in the following format:
|
|
| 37 |
"""
|
| 38 |
self.my_agent = CodeAgent(
|
| 39 |
tools=[search_tool, google_search_tool,
|
| 40 |
-
visit_web_tool, file_download_tool,
|
| 41 |
FinalAnswerTool()],
|
| 42 |
instructions=instruction,
|
| 43 |
model=model,
|
|
|
|
| 4 |
import requests
|
| 5 |
import inspect
|
| 6 |
import pandas as pd
|
| 7 |
+
from tools import search_tool, google_search_tool, visit_web_tool, file_download_tool, speech_to_text_tool
|
| 8 |
|
| 9 |
# (Keep Constants as is)
|
| 10 |
# --- Constants ---
|
|
|
|
| 37 |
"""
|
| 38 |
self.my_agent = CodeAgent(
|
| 39 |
tools=[search_tool, google_search_tool,
|
| 40 |
+
visit_web_tool, file_download_tool, speech_to_text_tool,
|
| 41 |
FinalAnswerTool()],
|
| 42 |
instructions=instruction,
|
| 43 |
model=model,
|