Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Muennighoff
commited on
Commit
•
82ad940
1
Parent(s):
bc83dc3
Update app.py
Browse files
app.py
CHANGED
@@ -35,6 +35,12 @@ with block:
|
|
35 |
with gr.Row():
|
36 |
data_run = gr.Button("Refresh")
|
37 |
data_run.click(get_blocks_party_spaces, inputs=None, outputs=data)
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
# running the function on page load in addition to when the button is clicked
|
39 |
block.load(get_blocks_party_spaces, inputs=None, outputs=data)
|
40 |
|
|
|
35 |
with gr.Row():
|
36 |
data_run = gr.Button("Refresh")
|
37 |
data_run.click(get_blocks_party_spaces, inputs=None, outputs=data)
|
38 |
+
with gr.TabItem("Blocks Party Leaderboard2"):
|
39 |
+
with gr.Row():
|
40 |
+
data = gr.outputs.Dataframe(type="pandas")
|
41 |
+
with gr.Row():
|
42 |
+
data_run = gr.Button("Refresh")
|
43 |
+
data_run.click(get_blocks_party_spaces, inputs=None, outputs=data)
|
44 |
# running the function on page load in addition to when the button is clicked
|
45 |
block.load(get_blocks_party_spaces, inputs=None, outputs=data)
|
46 |
|