Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ block = gr.Blocks()
|
|
6 |
|
7 |
with block:
|
8 |
gr.Markdown(
|
9 |
-
|
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=
|
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(
|
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(
|
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()
|
|