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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -24,11 +24,7 @@ class BasicAgent:
24
  )
25
  self.agent = CodeAgent(
26
  tools=[DuckDuckGoSearchTool(), suggest_outfit, define_coordinates, get_weather],
27
- model=model,
28
- pipeline_kwargs={
29
- "max_new_tokens": 512, # allow longer answers
30
- "truncate": True # automatically trim too long prompts
31
- }
32
  )
33
 
34
  def __call__(self, question: str) -> str:
 
24
  )
25
  self.agent = CodeAgent(
26
  tools=[DuckDuckGoSearchTool(), suggest_outfit, define_coordinates, get_weather],
27
+ model=model
 
 
 
 
28
  )
29
 
30
  def __call__(self, question: str) -> str: