Edenbaba commited on
Commit
aa2b023
·
verified ·
1 Parent(s): fae118f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,4 +1,5 @@
1
- from smolagents import CodeAgent, HfApiModel,load_tool, tool, DuckDuckGoSearchTool, Tool, VisitWebpageTool
 
2
  from smolagents import GoogleSearchTool, PythonInterpreterTool
3
  # from smolagents.models import InferenceAPIModel #InferenceClientModel
4
 
@@ -6,7 +7,7 @@ import requests
6
  import pytz
7
  import yaml
8
  from tools.final_answer import FinalAnswerTool
9
- # from tools.web_search import DuckDuckGoSearchTool
10
  # from tools.visit_webpage import VisitWebpageTool
11
 
12
  from Gradio_UI import GradioUI
 
1
+ from smolagents import CodeAgent, HfApiModel,load_tool, tool, Tool, VisitWebpageTool
2
+ # from smolagents import DuckDuckGoSearchTool
3
  from smolagents import GoogleSearchTool, PythonInterpreterTool
4
  # from smolagents.models import InferenceAPIModel #InferenceClientModel
5
 
 
7
  import pytz
8
  import yaml
9
  from tools.final_answer import FinalAnswerTool
10
+ from tools.web_search import DuckDuckGoSearchTool
11
  # from tools.visit_webpage import VisitWebpageTool
12
 
13
  from Gradio_UI import GradioUI