Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ def main():
|
|
| 77 |
# Wake it up before health check
|
| 78 |
wake_up_successful = wake_up_endpoint(endpoint_uri)
|
| 79 |
if not wake_up_successful:
|
| 80 |
-
|
| 81 |
|
| 82 |
is_healthy, status_info = check_model_endpoint(endpoint_uri) # Test the endpoint
|
| 83 |
|
|
|
|
| 77 |
# Wake it up before health check
|
| 78 |
wake_up_successful = wake_up_endpoint(endpoint_uri)
|
| 79 |
if not wake_up_successful:
|
| 80 |
+
print("Warning: Could not wake up the endpoint. Continuing anyway...")
|
| 81 |
|
| 82 |
is_healthy, status_info = check_model_endpoint(endpoint_uri) # Test the endpoint
|
| 83 |
|