jarguello76 commited on
Commit
a37e38f
·
verified ·
1 Parent(s): 0b3d497

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- DuckDuckGoSearchTool, WeatherInfoTool, HubStatsTool,
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()