Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 75 |
-
except Exception as e:
|
| 76 |
-
|
| 77 |
-
|
| 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)
|