nadim71 commited on
Commit
0e07e94
·
verified ·
1 Parent(s): 8cf8c4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -3,7 +3,8 @@ import gradio as gr
3
  import requests
4
  import inspect
5
  import pandas as pd
6
- import agent
 
7
 
8
  # (Keep Constants as is)
9
  # --- Constants ---
@@ -41,7 +42,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
41
 
42
  # 1. Instantiate Agent ( modify this part to create your agent)
43
  try:
44
- agent = agent.run()
45
  except Exception as e:
46
  print(f"Error instantiating agent: {e}")
47
  return f"Error initializing agent: {e}", None
 
3
  import requests
4
  import inspect
5
  import pandas as pd
6
+ from agent import autonomous_agent
7
+
8
 
9
  # (Keep Constants as is)
10
  # --- Constants ---
 
42
 
43
  # 1. Instantiate Agent ( modify this part to create your agent)
44
  try:
45
+ agent = autonomous_agent()
46
  except Exception as e:
47
  print(f"Error instantiating agent: {e}")
48
  return f"Error initializing agent: {e}", None