yetessam commited on
Commit
6324289
·
verified ·
1 Parent(s): 968d704

Update checks/failed_check.py

Browse files
Files changed (1) hide show
  1. checks/failed_check.py +3 -2
checks/failed_check.py CHANGED
@@ -36,8 +36,9 @@ def get_status():
36
  # Create the Gradio interface
37
  def create_failed_gradio_ui(status_info):
38
  with gr.Blocks() as interface:
39
- gr.Markdown(f"## Status Code: {status_info['status_code']}")
40
- gr.Markdown(f"## Message: {status_info['message']}")
 
41
  gr.JSON(status_info["response_data"], label="Response Data")
42
  #return interface
43
  # Launch the UI
 
36
  # Create the Gradio interface
37
  def create_failed_gradio_ui(status_info):
38
  with gr.Blocks() as interface:
39
+ gr.Markdown(f"## Inference Endpoint Status")
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