Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,10 +74,10 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 74 |
print(f"Error instantiating agent: {e}")
|
| 75 |
return f"Error initializing agent: {e}", None
|
| 76 |
# 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)
|
| 77 |
-
|
| 78 |
|
| 79 |
agent_code = f"https://huggingface.co/spaces/{space_id}/tree/main"
|
| 80 |
-
|
| 81 |
agent_code = agent_code.strip()
|
| 82 |
|
| 83 |
print(agent_code)
|
|
|
|
| 74 |
print(f"Error instantiating agent: {e}")
|
| 75 |
return f"Error initializing agent: {e}", None
|
| 76 |
# 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)
|
| 77 |
+
|
| 78 |
|
| 79 |
agent_code = f"https://huggingface.co/spaces/{space_id}/tree/main"
|
| 80 |
+
|
| 81 |
agent_code = agent_code.strip()
|
| 82 |
|
| 83 |
print(agent_code)
|