ubowang commited on
Commit
bc6519e
Β·
verified Β·
1 Parent(s): 17ec649

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -6,7 +6,7 @@ block = gr.Blocks()
6
 
7
  with block:
8
  gr.Markdown(
9
- LEADERBORAD_INTRODUCTION
10
  )
11
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
12
  # Table 1
@@ -27,7 +27,7 @@ with block:
27
  value=get_df(),
28
  headers=COLUMN_NAMES,
29
  type="pandas",
30
- datatype=DATA_TITLE_TYPE,
31
  interactive=False,
32
  visible=True,
33
  )
@@ -36,7 +36,7 @@ with block:
36
 
37
  # table 2
38
  with gr.TabItem("πŸ“ About", elem_id="qa-tab-table2", id=2):
39
- gr.Markdown(LEADERBORAD_INFO, elem_classes="markdown-text")
40
 
41
  # table 3
42
  with gr.TabItem("πŸš€ Submit here! ", elem_id="submit-tab", id=3):
@@ -56,5 +56,4 @@ with block:
56
  inputs=[input_file],
57
  )
58
 
59
- block.launch(share=True)
60
-
 
6
 
7
  with block:
8
  gr.Markdown(
9
+ LEADERBOARD_INTRODUCTION
10
  )
11
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
12
  # Table 1
 
27
  value=get_df(),
28
  headers=COLUMN_NAMES,
29
  type="pandas",
30
+ datatype=DATA_TILE_TYPE,
31
  interactive=False,
32
  visible=True,
33
  )
 
36
 
37
  # table 2
38
  with gr.TabItem("πŸ“ About", elem_id="qa-tab-table2", id=2):
39
+ gr.Markdown(LEADERBOARD_INFO, elem_classes="markdown-text")
40
 
41
  # table 3
42
  with gr.TabItem("πŸš€ Submit here! ", elem_id="submit-tab", id=3):
 
56
  inputs=[input_file],
57
  )
58
 
59
+ block.launch()