Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ 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}
|
18 |
|
19 |
def __call__(self, question: str) -> str:
|
20 |
try:
|
|
|
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}"
|
18 |
|
19 |
def __call__(self, question: str) -> str:
|
20 |
try:
|