Spaces:
Sleeping
Sleeping
Update checks/failed_check.py
Browse files- checks/failed_check.py +2 -3
checks/failed_check.py
CHANGED
|
@@ -40,8 +40,7 @@ def create_failed_gradio_ui(status_info):
|
|
| 40 |
gr.Markdown(f"### Status Code: {status_info['status_code']}")
|
| 41 |
gr.Markdown(f"### Message: {status_info['message']}")
|
| 42 |
gr.JSON(status_info["response_data"], label="Response Data")
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
interface.launch(show_error=True)
|
| 46 |
|
| 47 |
|
|
|
|
| 40 |
gr.Markdown(f"### Status Code: {status_info['status_code']}")
|
| 41 |
gr.Markdown(f"### Message: {status_info['message']}")
|
| 42 |
gr.JSON(status_info["response_data"], label="Response Data")
|
| 43 |
+
return interface
|
| 44 |
+
|
|
|
|
| 45 |
|
| 46 |
|