wlchee commited on
Commit
eff97f5
·
verified ·
1 Parent(s): 66008d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -51,11 +51,11 @@ def wikipedia_search(query: str, sentences: int = 2) -> str:
51
 
52
  class BasicAgent:
53
  def __init__(self):
54
- model = HfApiModel(
55
- max_tokens=2096,
56
- temperature=0.3,
57
- model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
58
- custom_role_conversions=None,
59
  )
60
 
61
  self.search_tool = DuckDuckGoSearchTool()
 
51
 
52
  class BasicAgent:
53
  def __init__(self):
54
+ self.model = HfApiModel(
55
+ max_tokens=2096,
56
+ temperature=0.3,
57
+ model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
58
+ custom_role_conversions=None,
59
  )
60
 
61
  self.search_tool = DuckDuckGoSearchTool()