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 |
-
host = os.getenv("SPACE_HOST", "jcleee-
|
| 16 |
# <— use /api/predict here
|
| 17 |
self.endpoint = f"https://{host}/run/predict"
|
| 18 |
|
|
|
|
| 12 |
# ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
|
| 13 |
class BasicAgent:
|
| 14 |
def __init__(self):
|
| 15 |
+
host = os.getenv("SPACE_HOST", "https://jcleee-first-agent-template.hf.space")
|
| 16 |
# <— use /api/predict here
|
| 17 |
self.endpoint = f"https://{host}/run/predict"
|
| 18 |
|