Spaces:
Runtime error
Runtime error
Commit
โข
a9f18b3
1
Parent(s):
d09442e
Update app.py
Browse files
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 |
|