Spaces:
Running
Running
Fix max rows
Browse files
app.py
CHANGED
@@ -14,7 +14,12 @@ Hello world
|
|
14 |
with gr.Blocks() as demo:
|
15 |
with gr.Tab("Leaderboard"):
|
16 |
gr.Markdown("## Leaderboard")
|
17 |
-
gr.Dataframe(
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
with gr.Tab("About"):
|
20 |
gr.Markdown(markdown_text)
|
|
|
14 |
with gr.Blocks() as demo:
|
15 |
with gr.Tab("Leaderboard"):
|
16 |
gr.Markdown("## Leaderboard")
|
17 |
+
gr.Dataframe(
|
18 |
+
value=df,
|
19 |
+
interactive=True,
|
20 |
+
max_rows=len(df),
|
21 |
+
max_cols=len(df.columns),
|
22 |
+
)
|
23 |
|
24 |
with gr.Tab("About"):
|
25 |
gr.Markdown(markdown_text)
|