keynes42 commited on
Commit
4673b2f
·
verified ·
1 Parent(s): c32b2ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, DuckDuckGoSearchTool, VisitWebpageTool, HfApiModel
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("Qwen/Qwen2.5-Coder-32B-Instruct")
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