Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,6 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
|
10 |
|
11 |
# --- Basic Agent Definition ---
|
12 |
# ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
|
13 |
-
#*
|
14 |
-
#from testAgent import BasicAgent
|
15 |
|
16 |
class BasicAgent:
|
17 |
def __init__(self):
|
@@ -49,7 +47,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
49 |
print(f"Error instantiating agent: {e}")
|
50 |
return f"Error initializing agent: {e}", None
|
51 |
# 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)
|
52 |
-
agent_code = f"https://huggingface.co/spaces/{
|
53 |
print(agent_code)
|
54 |
|
55 |
# 2. Fetch Questions
|
|
|
10 |
|
11 |
# --- Basic Agent Definition ---
|
12 |
# ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
|
|
|
|
|
13 |
|
14 |
class BasicAgent:
|
15 |
def __init__(self):
|
|
|
47 |
print(f"Error instantiating agent: {e}")
|
48 |
return f"Error initializing agent: {e}", None
|
49 |
# 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)
|
50 |
+
agent_code = f"https://huggingface.co/spaces/{testAgent}/tree/main"
|
51 |
print(agent_code)
|
52 |
|
53 |
# 2. Fetch Questions
|