cowrycode commited on
Commit
42e8f9e
·
verified ·
1 Parent(s): bde156c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -44,12 +44,9 @@ class BasicAgent:
44
 
45
  def __call__(self, question: str) -> str:
46
  #return asyncio.run(self.run(question))
47
- return self.agent.run(question)
48
- #print(f"Agent received question (first 50 chars): {question[:50]}...")
49
- #fixed_answer = "This is a default answer."
50
- #fixed_answer = self.llamaindex_agent.run(question)
51
- #print(f"Agent returning fixed answer: {fixed_answer}")
52
- #return fixed_answer
53
 
54
  def run_and_submit_all( profile: gr.OAuthProfile | None):
55
  """
 
44
 
45
  def __call__(self, question: str) -> str:
46
  #return asyncio.run(self.run(question))
47
+ return self.run(question)
48
+ #return self.agent.run(question)
49
+
 
 
 
50
 
51
  def run_and_submit_all( profile: gr.OAuthProfile | None):
52
  """