shchuro commited on
Commit
c1ea364
·
1 Parent(s): 0ea885d

Fix max rows

Browse files
Files changed (1) hide show
  1. app.py +6 -1
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(value=df, interactive=True)
 
 
 
 
 
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)