alamanna commited on
Commit
86adb4f
·
verified ·
1 Parent(s): fe2e3fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -21,8 +21,6 @@ class BasicAgent:
21
  print("BasicAgent initialized.")
22
  model = InferenceClientModel(
23
  token=hf_token,
24
- max_input_tokens=20000, # new: limit total tokens
25
- max_new_tokens=512 # still allow enough answer length
26
  )
27
  self.agent = CodeAgent(
28
  tools=[DuckDuckGoSearchTool(), suggest_outfit, define_coordinates, get_weather],
 
21
  print("BasicAgent initialized.")
22
  model = InferenceClientModel(
23
  token=hf_token,
 
 
24
  )
25
  self.agent = CodeAgent(
26
  tools=[DuckDuckGoSearchTool(), suggest_outfit, define_coordinates, get_weather],