cowrycode commited on
Commit
078098b
·
verified ·
1 Parent(s): 1540196

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -95,11 +95,11 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
95
  submit_url = f"{api_url}/submit"
96
 
97
  # 1. Instantiate Agent ( modify this part to create your agent)
98
- try:
99
- agent_OLD = BasicAgent()
100
- except Exception as e:
101
- print(f"Error instantiating agent: {e}")
102
- return f"Error initializing agent: {e}", None
103
  #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)
104
  agent_code = f"https://huggingface.co/spaces/{space_id}/tree/main"
105
  print(agent_code)
 
95
  submit_url = f"{api_url}/submit"
96
 
97
  # 1. Instantiate Agent ( modify this part to create your agent)
98
+ # try:
99
+ # agent_OLD = BasicAgent()
100
+ # except Exception as e:
101
+ # print(f"Error instantiating agent: {e}")
102
+ # return f"Error initializing agent: {e}", None
103
  #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)
104
  agent_code = f"https://huggingface.co/spaces/{space_id}/tree/main"
105
  print(agent_code)