Spaces:
Sleeping
Sleeping
Update checks/failed_check.py
Browse files- checks/failed_check.py +0 -10
checks/failed_check.py
CHANGED
|
@@ -44,14 +44,4 @@ def create_failed_gradio_ui(status_info):
|
|
| 44 |
# Launch the UI
|
| 45 |
interface.launch(show_error=True)
|
| 46 |
|
| 47 |
-
# Function to check the public endpoint and return the status information
|
| 48 |
-
def check_public_endpoint(endpoint_uri):
|
| 49 |
-
# Simulate the response from the public endpoint
|
| 50 |
-
status_info = {
|
| 51 |
-
"status": False,
|
| 52 |
-
"status_code": 404,
|
| 53 |
-
"response_data": {"error": "Not Found"},
|
| 54 |
-
"message": "The requested resource was not found."
|
| 55 |
-
}
|
| 56 |
-
return status_info
|
| 57 |
|
|
|
|
| 44 |
# Launch the UI
|
| 45 |
interface.launch(show_error=True)
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|