sergiopaniego HF Staff commited on
Commit
cd7e379
·
verified ·
1 Parent(s): 1b41b02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ class BasicAgent:
32
  print(f"Agent received question (first 50 chars): {question[:50]}...")
33
  final_answer = self.agent.run(question)
34
  print(f"Agent returning final answer: {final_answer}")
35
- return str(final_answer)
36
 
37
  def run_and_submit_all( profile: gr.OAuthProfile | None):
38
  """
 
32
  print(f"Agent received question (first 50 chars): {question[:50]}...")
33
  final_answer = self.agent.run(question)
34
  print(f"Agent returning final answer: {final_answer}")
35
+ return final_answer
36
 
37
  def run_and_submit_all( profile: gr.OAuthProfile | None):
38
  """