kdjokic commited on
Commit
3ee4521
·
verified ·
1 Parent(s): 20344d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,4 +1,4 @@
1
- from smolagents import CodeAgent,DuckDuckGoSearchRun , HfApiModel,load_tool,tool
2
  import datetime
3
  import requests
4
  import pytz
@@ -16,6 +16,7 @@ def my_custom_tool(team:str)-> str: #it's import to specify the return type
16
  team: A string representing a valid basketball Team
17
  """
18
 
 
19
  search = DuckDuckGoSearchRun()
20
  message = f("What's the last result of the basketball team {team}?")
21
 
 
1
+ from smolagents import CodeAgent,DuckDuckGoSearchTool , HfApiModel,load_tool,tool
2
  import datetime
3
  import requests
4
  import pytz
 
16
  team: A string representing a valid basketball Team
17
  """
18
 
19
+ dRun = DuckDuckGoSearchTool()
20
  search = DuckDuckGoSearchRun()
21
  message = f("What's the last result of the basketball team {team}?")
22