Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
from smolagents import CodeAgent, InferenceClientModel
|
| 2 |
from smolagents import VisitWebpageTool, WebSearchTool, WikipediaSearchTool, PythonInterpreterTool,FinalAnswerTool
|
|
|
|
| 3 |
|
|
|
|
| 4 |
|
| 5 |
class GaiaAgent:
|
| 6 |
def __init__(self):
|
|
|
|
| 1 |
from smolagents import CodeAgent, InferenceClientModel
|
| 2 |
from smolagents import VisitWebpageTool, WebSearchTool, WikipediaSearchTool, PythonInterpreterTool,FinalAnswerTool
|
| 3 |
+
import os
|
| 4 |
|
| 5 |
+
os.getenv("hf_token")
|
| 6 |
|
| 7 |
class GaiaAgent:
|
| 8 |
def __init__(self):
|