hysts HF staff commited on
Commit
49cbdc0
1 Parent(s): dfc9b12

gradio==5.6.0

Browse files
README.md CHANGED
@@ -5,7 +5,7 @@ emoji: ⚡
5
  colorFrom: red
6
  colorTo: purple
7
  sdk: gradio
8
- sdk_version: 4.44.0
9
  app_file: app.py
10
  pinned: false
11
  header: mini
@@ -14,4 +14,4 @@ hf_oauth_scopes:
14
  - write-discussions
15
  ---
16
 
17
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
5
  colorFrom: red
6
  colorTo: purple
7
  sdk: gradio
8
+ sdk_version: 5.6.0
9
  app_file: app.py
10
  pinned: false
11
  header: mini
 
14
  - write-discussions
15
  ---
16
 
17
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -51,7 +51,7 @@ def logging_flow(oauth_token: Optional[gr.OAuthToken]):
51
 
52
 
53
  # Create the Gradio Blocks app with custom CSS
54
- with gr.Blocks(css="style.css") as demo:
55
  gr.Markdown("# Paper Central")
56
  with gr.Row():
57
  with gr.Column(scale=1):
@@ -167,7 +167,7 @@ with gr.Blocks(css="style.css") as demo:
167
  ],
168
  row_count=(0, "dynamic"),
169
  interactive=False,
170
- height=1000,
171
  elem_id="table",
172
  wrap=True,
173
  )
@@ -465,7 +465,7 @@ with gr.Blocks(css="style.css") as demo:
465
  str: The echoed text.
466
  """
467
  calendar = gr.update(datetime.today().strftime('%Y-%m-%d'))
468
- date_range = gr.update(value=[])
469
  conferences = gr.update(value=[])
470
  hf_options = gr.update(value=[])
471
  leaderboard_tab = gr.Tabs()
 
51
 
52
 
53
  # Create the Gradio Blocks app with custom CSS
54
+ with gr.Blocks(css_paths="style.css") as demo:
55
  gr.Markdown("# Paper Central")
56
  with gr.Row():
57
  with gr.Column(scale=1):
 
167
  ],
168
  row_count=(0, "dynamic"),
169
  interactive=False,
170
+ max_height=1000,
171
  elem_id="table",
172
  wrap=True,
173
  )
 
465
  str: The echoed text.
466
  """
467
  calendar = gr.update(datetime.today().strftime('%Y-%m-%d'))
468
+ date_range = gr.update(value=None)
469
  conferences = gr.update(value=[])
470
  hf_options = gr.update(value=[])
471
  leaderboard_tab = gr.Tabs()
author_leaderboard_contrib_tab.py CHANGED
@@ -31,7 +31,7 @@ def author_resource_leaderboard_tab():
31
  datatype=[leaderboard.DATATYPES[column] for column in leaderboard.COLUMNS_ORDER],
32
  row_count=(0, "dynamic"),
33
  interactive=False,
34
- height=1000,
35
  wrap=True,
36
  )
37
 
 
31
  datatype=[leaderboard.DATATYPES[column] for column in leaderboard.COLUMNS_ORDER],
32
  row_count=(0, "dynamic"),
33
  interactive=False,
34
+ max_height=1000,
35
  wrap=True,
36
  )
37
 
author_leaderboard_tab.py CHANGED
@@ -24,7 +24,7 @@ def author_leaderboard_tab():
24
  datatype=[leaderboard.DATATYPES[column] for column in leaderboard.COLUMNS_ORDER],
25
  row_count=(0, "dynamic"),
26
  interactive=False,
27
- height=1000,
28
  wrap=True,
29
  )
30
 
 
24
  datatype=[leaderboard.DATATYPES[column] for column in leaderboard.COLUMNS_ORDER],
25
  row_count=(0, "dynamic"),
26
  interactive=False,
27
+ max_height=1000,
28
  wrap=True,
29
  )
30
 
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- gradio==4.44.0
2
  gradio_calendar
3
  datasets
4
- scholarly
 
1
+ gradio==5.6.0
2
  gradio_calendar
3
  datasets
4
+ scholarly