Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 51 |
submit_url = f"{api_url}/submit"
|
| 52 |
|
| 53 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
| 54 |
-
|
| 55 |
if agent_name == "BasicAgent":
|
| 56 |
agent = BasicAgent()
|
| 57 |
elif agent_name == "EchoAgent":
|
|
|
|
| 51 |
submit_url = f"{api_url}/submit"
|
| 52 |
|
| 53 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
| 54 |
+
try:
|
| 55 |
if agent_name == "BasicAgent":
|
| 56 |
agent = BasicAgent()
|
| 57 |
elif agent_name == "EchoAgent":
|