laverdes commited on
Commit
ab89541
·
verified ·
1 Parent(s): a9f4026

fix: initialize agent

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
89
  ],
90
  backstory=TOOL_USE_SYS_PROMPT
91
  )
92
- agent.agent.initialize()
93
 
94
  except Exception as e:
95
  print(f"Error instantiating agent: {e}")
 
89
  ],
90
  backstory=TOOL_USE_SYS_PROMPT
91
  )
92
+ agent.initialize()
93
 
94
  except Exception as e:
95
  print(f"Error instantiating agent: {e}")