Muennighoff commited on
Commit
bc83dc3
β€’
1 Parent(s): a231612

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -29,6 +29,12 @@ with block:
29
  with gr.Row():
30
  data_run = gr.Button("Refresh")
31
  data_run.click(get_blocks_party_spaces, inputs=None, outputs=data)
 
 
 
 
 
 
32
  # running the function on page load in addition to when the button is clicked
33
  block.load(get_blocks_party_spaces, inputs=None, outputs=data)
34
 
 
29
  with gr.Row():
30
  data_run = gr.Button("Refresh")
31
  data_run.click(get_blocks_party_spaces, inputs=None, outputs=data)
32
+ with gr.TabItem("Blocks Party Leaderboard"):
33
+ with gr.Row():
34
+ data = gr.outputs.Dataframe(type="pandas")
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