hhhhmmmm commited on
Commit
ac44e77
·
verified ·
1 Parent(s): c586509

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ class BasicAgent:
20
  # fixed_answer = "This is a default answer."
21
  # print(f"Agent returning fixed answer: {fixed_answer}")
22
  # return fixed_answer
23
- return agent.run(str)
24
 
25
  def run_and_submit_all( profile: gr.OAuthProfile | None):
26
  """
 
20
  # fixed_answer = "This is a default answer."
21
  # print(f"Agent returning fixed answer: {fixed_answer}")
22
  # return fixed_answer
23
+ return self.agent.run(str)
24
 
25
  def run_and_submit_all( profile: gr.OAuthProfile | None):
26
  """