PietroS commited on
Commit
d236fb9
·
verified ·
1 Parent(s): 1f5ecec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool
2
  import datetime
3
  import requests
4
  import pytz
@@ -65,5 +65,5 @@ agent = CodeAgent(
65
  prompt_templates=prompt_templates
66
  )
67
 
68
-
69
  GradioUI(agent).launch()
 
1
+ from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,launch_gradio_demo,load_tool,tool
2
  import datetime
3
  import requests
4
  import pytz
 
65
  prompt_templates=prompt_templates
66
  )
67
 
68
+ launch_gradio_demo(tool)
69
  GradioUI(agent).launch()