Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
|
12 |
# ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
|
13 |
class BasicAgent:
|
14 |
def __init__(self):
|
15 |
-
self.endpoint = "https://jcleee-first-agent-template.hf.space/run" # Replace with your actual Space URL
|
16 |
|
17 |
def __call__(self, question: str) -> str:
|
18 |
try:
|
|
|
12 |
# ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
|
13 |
class BasicAgent:
|
14 |
def __init__(self):
|
15 |
+
self.endpoint = "https://jcleee-first-agent-template.hf.space/run/predict" # Replace with your actual Space URL
|
16 |
|
17 |
def __call__(self, question: str) -> str:
|
18 |
try:
|