DTStudios commited on
Commit
af5e129
·
verified ·
1 Parent(s): 826eab4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -71,10 +71,15 @@ tool=[
71
  load_tool("agents-course/text-to-image", trust_remote_code=True),
72
  ]
73
 
 
 
 
 
 
74
  # --- Agent setup ---
75
  agent = CodeAgent(
76
  tools=tool,
77
- model="gpt-4o-mini", # or whichever model you’re using
78
  add_base_tools=True,
79
  name="MyAgent",
80
  description="Agent with web search and time lookup tools"
 
71
  load_tool("agents-course/text-to-image", trust_remote_code=True),
72
  ]
73
 
74
+ model = HfApiModel
75
+ model_id="Qwen/Qwen2.5-Coder-32B-Instruct"
76
+ max_tokens=2048,
77
+ temperature=0.5
78
+ )
79
  # --- Agent setup ---
80
  agent = CodeAgent(
81
  tools=tool,
82
+ model= model,
83
  add_base_tools=True,
84
  name="MyAgent",
85
  description="Agent with web search and time lookup tools"