cowrycode commited on
Commit
f50b8fb
·
verified ·
1 Parent(s): 6b5a6d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,8 +31,8 @@ class BasicAgent:
31
  return answer
32
 
33
  def __call__(self, question: str) -> str:
34
- return smart_agent(question, self.api_key)
35
- #return asyncio.run(smart_agent(question, self.api_key))
36
  #print(f"Agent received question (first 50 chars): {question[:50]}...")
37
  #fixed_answer = "This is a default answer."
38
  #fixed_answer = self.llamaindex_agent.run(question)
 
31
  return answer
32
 
33
  def __call__(self, question: str) -> str:
34
+ #return smart_agent(question, self.api_key)
35
+ return asyncio.run(smart_agent(question, self.api_key))
36
  #print(f"Agent received question (first 50 chars): {question[:50]}...")
37
  #fixed_answer = "This is a default answer."
38
  #fixed_answer = self.llamaindex_agent.run(question)