voliveiratw commited on
Commit
13c5295
·
verified ·
1 Parent(s): 5099de2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -39,6 +39,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
39
 
40
 
41
  final_answer = FinalAnswerTool()
 
42
  model = HfApiModel(
43
  max_tokens=2096,
44
  temperature=0.5,
@@ -64,7 +65,7 @@ with open("prompts.yaml", 'r') as stream:
64
 
65
  agent = CodeAgent(
66
  model=model,
67
- tools=[final_answer,replace_vowels_with_x_and_concatenate_with_provided_int,get_current_time_in_timezone], ## add your tools here (don't remove final answer)
68
  max_steps=6,
69
  verbosity_level=1,
70
  grammar=None,
 
39
 
40
 
41
  final_answer = FinalAnswerTool()
42
+ duckducktool = DuckDuckGoSearchTool()
43
  model = HfApiModel(
44
  max_tokens=2096,
45
  temperature=0.5,
 
65
 
66
  agent = CodeAgent(
67
  model=model,
68
+ tools=[final_answer,replace_vowels_with_x_and_concatenate_with_provided_int,get_current_time_in_timezone,duckducktool], ## add your tools here (don't remove final answer)
69
  max_steps=6,
70
  verbosity_level=1,
71
  grammar=None,