Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
44 |
print(f"Error instantiating agent: {e}")
|
45 |
return f"Error initializing agent: {e}", None
|
46 |
# 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)
|
47 |
-
agent_code = "https://huggingface.co/spaces/{space_id}/tree/main"
|
48 |
print(agent_code)
|
49 |
|
50 |
# 2. Fetch Questions
|
|
|
44 |
print(f"Error instantiating agent: {e}")
|
45 |
return f"Error initializing agent: {e}", None
|
46 |
# 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)
|
47 |
+
agent_code = f"https://huggingface.co/spaces/{space_id}/tree/main"
|
48 |
print(agent_code)
|
49 |
|
50 |
# 2. Fetch Questions
|