menaahmed22 commited on
Commit
1dac27d
·
verified ·
1 Parent(s): bd8fc0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ class BasicAgent:
18
  def __call__(self, question: str) -> str:
19
  print(f"Agent received question (first 50 chars): {question[:50]}...")
20
  try:
21
- model = model=HfApiModel() )
22
  agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=model, add_base_tools=True)
23
  agent_response = agent.run(question)
24
  except Exception as e:
 
18
  def __call__(self, question: str) -> str:
19
  print(f"Agent received question (first 50 chars): {question[:50]}...")
20
  try:
21
+ model = model=HfApiModel()
22
  agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=model, add_base_tools=True)
23
  agent_response = agent.run(question)
24
  except Exception as e: