Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
|
10 |
# --- Define Agent ---
|
11 |
class SmolAgentWrapper:
|
12 |
def __init__(self):
|
13 |
-
self.model = InferenceClientModel(model_id="Qwen/Qwen2.5-Coder-32B-Instruct"
|
14 |
self.tools = [DuckDuckGoSearchTool()] # You can add more tools here
|
15 |
self.agent = CodeAgent(model=self.model, tools=self.tools)
|
16 |
|
|
|
10 |
# --- Define Agent ---
|
11 |
class SmolAgentWrapper:
|
12 |
def __init__(self):
|
13 |
+
self.model = InferenceClientModel(model_id="Qwen/Qwen2.5-Coder-32B-Instruct") # Uses flan-t5-base via HF Inference API
|
14 |
self.tools = [DuckDuckGoSearchTool()] # You can add more tools here
|
15 |
self.agent = CodeAgent(model=self.model, tools=self.tools)
|
16 |
|