Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,6 +25,9 @@ endpoint_uri = load_huggingface_model()
|
|
25 |
|
26 |
status_info = check_public_endpoint(endpoint_uri)
|
27 |
|
|
|
|
|
|
|
28 |
if status_info["status"] is False:
|
29 |
create_failed_gradio_ui(status_info)
|
30 |
else:
|
|
|
25 |
|
26 |
status_info = check_public_endpoint(endpoint_uri)
|
27 |
|
28 |
+
print(status_info["status"])
|
29 |
+
print(status_info["status_code"])
|
30 |
+
|
31 |
if status_info["status"] is False:
|
32 |
create_failed_gradio_ui(status_info)
|
33 |
else:
|