AntonVoronko commited on
Commit
17c30dc
·
verified ·
1 Parent(s): ac0de3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -37,7 +37,8 @@ class BasicAgent:
37
  async def __call__(self, question: str) -> str:
38
  print(f"Agent received question (first 50 chars): {question[:50]}...")
39
  fixed_answer = await self.agent.run(question)
40
- return fixed_answer.response.content
 
41
 
42
  def run_and_submit_all( profile: gr.OAuthProfile | None):
43
  """
 
37
  async def __call__(self, question: str) -> str:
38
  print(f"Agent received question (first 50 chars): {question[:50]}...")
39
  fixed_answer = await self.agent.run(question)
40
+ result = fixed_answer.response.content
41
+ return result
42
 
43
  def run_and_submit_all( profile: gr.OAuthProfile | None):
44
  """