Spaces:
Runtime error
Runtime error
Updated function name to huggingface_model_uri
Browse files- status_check.py +2 -2
status_check.py
CHANGED
@@ -8,7 +8,7 @@ from typing import Optional, Tuple
|
|
8 |
|
9 |
from ui.statusui import StatusUI
|
10 |
from checks.health_check import check_model_endpoint
|
11 |
-
from agents.model import
|
12 |
|
13 |
|
14 |
def wake_up_endpoint(
|
@@ -96,7 +96,7 @@ def run_status_checks():
|
|
96 |
ui.append("Starting prechecks...")
|
97 |
ui.append("Checking endpoint..")
|
98 |
|
99 |
-
endpoint_uri =
|
100 |
ui.append(endpoint_uri)
|
101 |
|
102 |
# Wake it up before health check
|
|
|
8 |
|
9 |
from ui.statusui import StatusUI
|
10 |
from checks.health_check import check_model_endpoint
|
11 |
+
from agents.model import huggingface_model_uri
|
12 |
|
13 |
|
14 |
def wake_up_endpoint(
|
|
|
96 |
ui.append("Starting prechecks...")
|
97 |
ui.append("Checking endpoint..")
|
98 |
|
99 |
+
endpoint_uri = huggingface_model_uri() # Get the URI for the endpoint
|
100 |
ui.append(endpoint_uri)
|
101 |
|
102 |
# Wake it up before health check
|