Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from transformers import AutoTokenizer
|
|
9 |
|
10 |
# Import your custom tools from their modules
|
11 |
from tools import (
|
12 |
-
|
13 |
CalculatorTool, CalendarTool, EmailTool, FileManagementTool,
|
14 |
DatabaseQueryTool, TranslationTool, TextToSpeechTool,
|
15 |
SpeechToTextTool, ImageRecognitionTool, NLPTool, APIIntegrationTool
|
@@ -25,7 +25,7 @@ HUGGINGFACE_TOKEN = os.getenv("agents_token")
|
|
25 |
model = TransformersModel(model_id="allenai/OLMo-2-0425-1B-Instruct")
|
26 |
|
27 |
# Initialize the web search tool
|
28 |
-
search_tool = DuckDuckGoSearchTool()
|
29 |
|
30 |
# Initialize the weather tool
|
31 |
weather_info_tool = WeatherInfoTool()
|
|
|
9 |
|
10 |
# Import your custom tools from their modules
|
11 |
from tools import (
|
12 |
+
WeatherInfoTool, HubStatsTool,
|
13 |
CalculatorTool, CalendarTool, EmailTool, FileManagementTool,
|
14 |
DatabaseQueryTool, TranslationTool, TextToSpeechTool,
|
15 |
SpeechToTextTool, ImageRecognitionTool, NLPTool, APIIntegrationTool
|
|
|
25 |
model = TransformersModel(model_id="allenai/OLMo-2-0425-1B-Instruct")
|
26 |
|
27 |
# Initialize the web search tool
|
28 |
+
# search_tool = DuckDuckGoSearchTool()
|
29 |
|
30 |
# Initialize the weather tool
|
31 |
weather_info_tool = WeatherInfoTool()
|