Hmd6919 commited on
Commit
105fa1a
·
verified ·
1 Parent(s): f4ebb0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import pandas as pd
5
  from smolagents import CodeAgent, DuckDuckGoSearchTool, LiteLLMModel
6
 
7
  def create_agent():
8
- model = LiteLLMModel(model_id="huggingface/Qwen/Qwen2.5-Coder-32B-Instruct")
9
  search_tool = DuckDuckGoSearchTool()
10
  agent = CodeAgent(
11
  tools=[search_tool],
 
5
  from smolagents import CodeAgent, DuckDuckGoSearchTool, LiteLLMModel
6
 
7
  def create_agent():
8
+ model = TransformersModel(model_id="Qwen/Qwen2.5-Coder-32B-Instruct")
9
  search_tool = DuckDuckGoSearchTool()
10
  agent = CodeAgent(
11
  tools=[search_tool],