cowrycode commited on
Commit
c411cd0
·
verified ·
1 Parent(s): 5c5d25d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -70,11 +70,11 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
70
  submit_url = f"{api_url}/submit"
71
 
72
  # 1. Instantiate Agent ( modify this part to create your agent)
73
- try:
74
- #agent = BasicAgent()
75
- except Exception as e:
76
- print(f"Error instantiating agent: {e}")
77
- return f"Error initializing agent: {e}", None
78
  # 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)
79
  agent_code = f"https://huggingface.co/spaces/{space_id}/tree/main"
80
  print(agent_code)
 
70
  submit_url = f"{api_url}/submit"
71
 
72
  # 1. Instantiate Agent ( modify this part to create your agent)
73
+ # try:
74
+ # agent = BasicAgent()
75
+ # except Exception as e:
76
+ # print(f"Error instantiating agent: {e}")
77
+ # return f"Error initializing agent: {e}", None
78
  # 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)
79
  agent_code = f"https://huggingface.co/spaces/{space_id}/tree/main"
80
  print(agent_code)