notsakeeb commited on
Commit
c2a0b24
·
verified ·
1 Parent(s): 9e99d26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,7 +55,7 @@ builder.add_conditional_edges(
55
  )
56
  builder.add_edge("tools","assistant")
57
 
58
- gaia_agent = builder.compile()
59
 
60
  def run_and_submit_all(profile: gr.OAuthProfile | None):
61
  """
@@ -73,7 +73,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
73
 
74
  # 1. Instantiate Agent (modify this part to create your agent)
75
  try:
76
- agent = my_agent
77
  except Exception as e:
78
  print(f"Error instantiating agent: {e}")
79
  return f"Error initializing agent: {e}", None
 
55
  )
56
  builder.add_edge("tools","assistant")
57
 
58
+ gaia_agent = builder.compile(share=True)
59
 
60
  def run_and_submit_all(profile: gr.OAuthProfile | None):
61
  """
 
73
 
74
  # 1. Instantiate Agent (modify this part to create your agent)
75
  try:
76
+ agent = gaia_agent
77
  except Exception as e:
78
  print(f"Error instantiating agent: {e}")
79
  return f"Error initializing agent: {e}", None