Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,8 @@ class BasicAgent:
|
|
| 19 |
def __init__(self):
|
| 20 |
|
| 21 |
webTool = DuckDuckGoSearchTool()
|
| 22 |
-
|
|
|
|
| 23 |
|
| 24 |
agent = CodeAgent(
|
| 25 |
tools=[webTool], model=model
|
|
|
|
| 19 |
def __init__(self):
|
| 20 |
|
| 21 |
webTool = DuckDuckGoSearchTool()
|
| 22 |
+
token = os.getenv("HF_TOKEN")
|
| 23 |
+
model = InferenceClientModel("Qwen/Qwen2.5-72B-Instruct", token=token)
|
| 24 |
|
| 25 |
agent = CodeAgent(
|
| 26 |
tools=[webTool], model=model
|