Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
import requests
|
4 |
import inspect
|
5 |
import pandas as pd
|
6 |
-
from smolagents import CodeAgent,
|
7 |
|
8 |
# (Keep Constants as is)
|
9 |
# --- Constants ---
|
@@ -16,7 +16,7 @@ class BasicAgent:
|
|
16 |
print("BasicAgent initialized.")
|
17 |
|
18 |
# Initialize the model
|
19 |
-
model = HfApiModel("
|
20 |
|
21 |
# Initialize the tools other than the base tools
|
22 |
# See list of base tools in https://github.com/huggingface/smolagents/blob/main/src/smolagents/default_tools.py
|
|
|
3 |
import requests
|
4 |
import inspect
|
5 |
import pandas as pd
|
6 |
+
from smolagents import CodeAgent, HfApiModel
|
7 |
|
8 |
# (Keep Constants as is)
|
9 |
# --- Constants ---
|
|
|
16 |
print("BasicAgent initialized.")
|
17 |
|
18 |
# Initialize the model
|
19 |
+
model = HfApiModel("deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B")
|
20 |
|
21 |
# Initialize the tools other than the base tools
|
22 |
# See list of base tools in https://github.com/huggingface/smolagents/blob/main/src/smolagents/default_tools.py
|