Spaces:
Sleeping
Sleeping
Nienke Dekkema commited on
Commit ·
10f0cc5
1
Parent(s): 5e1a3be
removed googlesearchtool
Browse files
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, UserInputTool, WebSearchTool, InferenceClientModel,
|
| 7 |
from dotenv import load_dotenv
|
| 8 |
|
| 9 |
# (Keep Constants as is)
|
|
@@ -41,7 +41,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 41 |
# WebSearchTool(),
|
| 42 |
VisitWebpageTool(),
|
| 43 |
DuckDuckGoSearchTool(),
|
| 44 |
-
GoogleSearchTool(),
|
| 45 |
FinalAnswerTool(),
|
| 46 |
PythonInterpreterTool(),
|
| 47 |
PythonExecutor(),
|
|
|
|
| 3 |
import requests
|
| 4 |
import inspect
|
| 5 |
import pandas as pd
|
| 6 |
+
from smolagents import CodeAgent, UserInputTool, WebSearchTool, InferenceClientModel, PythonInterpreterTool, PythonExecutor, VisitWebpageTool, FinalAnswerTool, Tool, tool, LiteLLMModel, DuckDuckGoSearchTool
|
| 7 |
from dotenv import load_dotenv
|
| 8 |
|
| 9 |
# (Keep Constants as is)
|
|
|
|
| 41 |
# WebSearchTool(),
|
| 42 |
VisitWebpageTool(),
|
| 43 |
DuckDuckGoSearchTool(),
|
| 44 |
+
# GoogleSearchTool(),
|
| 45 |
FinalAnswerTool(),
|
| 46 |
PythonInterpreterTool(),
|
| 47 |
PythonExecutor(),
|