yetessam commited on
Commit
3d5b6a8
·
verified ·
1 Parent(s): 2848bd4

Update checks/failed_check.py

Browse files
Files changed (1) hide show
  1. 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
- #return interface
44
- # Launch the UI
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