sdeepanraj commited on
Commit
2f7152d
·
verified ·
1 Parent(s): 760401c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -30,13 +30,12 @@ class BasicAgent:
30
  # custom_role_conversions=None,
31
  #)
32
 
33
- model = InferenceClientModel(model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
34
- provider="together",
35
- max_tokens=2096,
36
- token=token,
37
- custom_role_conversions=None)
38
  self.agent = CodeAgent(
39
- model = model,
40
  tools = [DuckDuckGoSearchTool(), WikipediaSearchTool(), VisitWebpageTool()],
41
  #additional_authorized_imports = ["pandas", "numpy"]
42
  )
 
30
  # custom_role_conversions=None,
31
  #)
32
 
33
+ #model = InferenceClientModel(model_id="Qwen/Qwen2.5-Coder-0.5B-Instruct",
34
+ # max_tokens=2096,
35
+ # token=token,
36
+ # custom_role_conversions=None)
 
37
  self.agent = CodeAgent(
38
+ model = HfApiModel(),
39
  tools = [DuckDuckGoSearchTool(), WikipediaSearchTool(), VisitWebpageTool()],
40
  #additional_authorized_imports = ["pandas", "numpy"]
41
  )