Duke-911 commited on
Commit
4a80e6e
·
1 Parent(s): 0b54083

Remove redundant agent assignment

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -64,11 +64,6 @@ async def run_and_submit_all( profile: gr.OAuthProfile | None):
64
  submit_url = f"{api_url}/submit"
65
 
66
  # 1. Instantiate Agent ( modify this part to create your agent)
67
- try:
68
- agent = agent
69
- except Exception as e:
70
- print(f"Error instantiating agent: {e}")
71
- return f"Error initializing agent: {e}", None
72
  # In the case of an app running as a hugging Face space, this link points toward your codebase ( usefull for others so please keep it public)
73
  agent_code = f"https://huggingface.co/spaces/{space_id}/tree/main"
74
  print(agent_code)
 
64
  submit_url = f"{api_url}/submit"
65
 
66
  # 1. Instantiate Agent ( modify this part to create your agent)
 
 
 
 
 
67
  # In the case of an app running as a hugging Face space, this link points toward your codebase ( usefull for others so please keep it public)
68
  agent_code = f"https://huggingface.co/spaces/{space_id}/tree/main"
69
  print(agent_code)