oracool commited on
Commit
ca9ce0c
·
verified ·
1 Parent(s): e45891f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  import requests
4
  import inspect
5
  import pandas as pd
6
- from smolagents import CodeAgent, GoogleSearchTool, VisitWebpageTool, LiteLLMModel, ToolCallingAgent, tool, WikipediaSearchTool
7
 
8
  # (Keep Constants as is)
9
  # --- Constants ---
@@ -37,7 +37,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
37
  # 1. Instantiate Agent ( modify this part to create your agent)
38
  try:
39
  agent = ToolCallingAgent(
40
- tools=[GoogleSearchTool(), VisitWebpageTool(), WikipediaSearchTool],
41
  model=model
42
  )
43
 
 
3
  import requests
4
  import inspect
5
  import pandas as pd
6
+ from smolagents import CodeAgent, DuckDuckGSearchTool, VisitWebpageTool, LiteLLMModel, ToolCallingAgent, tool, WikipediaSearchTool
7
 
8
  # (Keep Constants as is)
9
  # --- Constants ---
 
37
  # 1. Instantiate Agent ( modify this part to create your agent)
38
  try:
39
  agent = ToolCallingAgent(
40
+ tools=[DuckDuckGSearchTool(), VisitWebpageTool(), WikipediaSearchTool],
41
  model=model
42
  )
43