Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import inspect
|
|
| 5 |
import pandas as pd
|
| 6 |
from smolagents import (
|
| 7 |
CodeAgent,
|
| 8 |
-
|
| 9 |
DuckDuckGoSearchTool,
|
| 10 |
WikipediaSearchTool,
|
| 11 |
PythonInterpreterTool,
|
|
@@ -29,7 +29,7 @@ def get_current_date_time() -> str:
|
|
| 29 |
class BasicAgent:
|
| 30 |
def __init__(self):
|
| 31 |
print("BasicAgent initialized.")
|
| 32 |
-
model =
|
| 33 |
model_id="Qwen/Qwen2.5-72B-Instruct",
|
| 34 |
)
|
| 35 |
tools = [
|
|
|
|
| 5 |
import pandas as pd
|
| 6 |
from smolagents import (
|
| 7 |
CodeAgent,
|
| 8 |
+
InferenceClientModel,
|
| 9 |
DuckDuckGoSearchTool,
|
| 10 |
WikipediaSearchTool,
|
| 11 |
PythonInterpreterTool,
|
|
|
|
| 29 |
class BasicAgent:
|
| 30 |
def __init__(self):
|
| 31 |
print("BasicAgent initialized.")
|
| 32 |
+
model = InferenceClientModel(
|
| 33 |
model_id="Qwen/Qwen2.5-72B-Instruct",
|
| 34 |
)
|
| 35 |
tools = [
|