wogh2012 commited on
Commit
61f41bd
·
1 Parent(s): 16aa5e1

refactor: hide example tab

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -17,6 +17,16 @@ ptbxl_df = ptbxl_df[selected_columns]
17
 
18
 
19
  with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
 
 
20
  with gr.Tab("App"):
21
  with gr.Row():
22
  gr.Textbox(
@@ -77,15 +87,5 @@ with gr.Blocks() as demo:
77
  inputs=ecg_id_output,
78
  outputs=[alfred_result, ecg_viewer, gr_df],
79
  )
80
-
81
- with gr.Tab("Example"):
82
- with gr.Row():
83
- gr.Textbox(
84
- "The test app is currently not functioning properly due to DNS issues. Below is the output of the actual app running internally. \nIf the service is functioning properly, You can use 'App' tab.",
85
- label="Information",
86
- lines=2,
87
- )
88
- with gr.Row():
89
- gr.Image("./res/screenshot_alfred-min.png")
90
 
91
  demo.launch()
 
17
 
18
 
19
  with gr.Blocks() as demo:
20
+ # with gr.Tab("Example"):
21
+ # with gr.Row():
22
+ # gr.Textbox(
23
+ # "The test app is currently not functioning properly due to DNS issues. Below is the output of the actual app running internally. \nIf the service is functioning properly, You can use 'App' tab.",
24
+ # label="Information",
25
+ # lines=2,
26
+ # )
27
+ # with gr.Row():
28
+ # gr.Image("./res/screenshot_alfred-min.png")
29
+
30
  with gr.Tab("App"):
31
  with gr.Row():
32
  gr.Textbox(
 
87
  inputs=ecg_id_output,
88
  outputs=[alfred_result, ecg_viewer, gr_df],
89
  )
 
 
 
 
 
 
 
 
 
 
90
 
91
  demo.launch()