ThomasSimonini HF staff commited on
Commit
a9f18b3
โ€ข
1 Parent(s): d09442e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -31,12 +31,11 @@ with gr.Blocks() as block:
31
  """)
32
  with gr.Row():
33
  output = gr.components.Dataframe(
34
- value=get_elo_data(),
35
  headers=["Ranking ๐Ÿ†", "User ๐Ÿค—", "Model id ๐Ÿค–", "ELO ๐Ÿš€", "Games played ๐ŸŽฎ"],
36
  datatype=["number", "markdown", "markdown", "number", "number"]
37
  )
38
  with gr.Row():
39
- output.get_elo_data()
40
  refresh = gr.Button("Refresh")
41
  refresh.click(get_elo_data, inputs=[], outputs=output)
42
 
 
31
  """)
32
  with gr.Row():
33
  output = gr.components.Dataframe(
34
+ value=get_elo_data,
35
  headers=["Ranking ๐Ÿ†", "User ๐Ÿค—", "Model id ๐Ÿค–", "ELO ๐Ÿš€", "Games played ๐ŸŽฎ"],
36
  datatype=["number", "markdown", "markdown", "number", "number"]
37
  )
38
  with gr.Row():
 
39
  refresh = gr.Button("Refresh")
40
  refresh.click(get_elo_data, inputs=[], outputs=output)
41