Hmd6919 commited on
Commit
aebafda
·
verified ·
1 Parent(s): f2a21d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,8 @@ import pandas as pd
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],
 
5
  from smolagents import CodeAgent, DuckDuckGoSearchTool, LiteLLMModel
6
 
7
  def create_agent():
8
+ # Try smaller free model
9
+ model = LiteLLMModel(model_id="huggingface/HuggingFaceH4/zephyr-7b-beta")
10
  search_tool = DuckDuckGoSearchTool()
11
  agent = CodeAgent(
12
  tools=[search_tool],