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