Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from smolagents import CodeAgent, GoogleSearchTool, InferenceClientModel, VisitW
|
|
9 |
# --- Constants ---
|
10 |
os.environ["SERPER_API_KEY"] = "3814ecb904f7401e22386b7b7ee3a6f913741c5"
|
11 |
os.environ["TOGETHER_API_KEY"] = "3834950276bc7d9759a3dec81c89cc8c639b8357e65a0e9e66891a995b0ecec8"
|
12 |
-
model
|
13 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
14 |
|
15 |
# --- Basic Agent Definition ---
|
|
|
9 |
# --- Constants ---
|
10 |
os.environ["SERPER_API_KEY"] = "3814ecb904f7401e22386b7b7ee3a6f913741c5"
|
11 |
os.environ["TOGETHER_API_KEY"] = "3834950276bc7d9759a3dec81c89cc8c639b8357e65a0e9e66891a995b0ecec8"
|
12 |
+
model=InferenceClientModel()
|
13 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
14 |
|
15 |
# --- Basic Agent Definition ---
|