hysts HF Staff commited on
Commit
667c852
·
1 Parent(s): 035073a
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -9,10 +9,6 @@ from table import df_orig
9
 
10
  DESCRIPTION = "# CVPR 2025"
11
 
12
- # TODO: remove this once https://github.com/gradio-app/gradio/issues/10916 https://github.com/gradio-app/gradio/issues/11001 https://github.com/gradio-app/gradio/issues/11002 are fixed # noqa: TD002, FIX002
13
- NOTE = """\
14
- Note: Sorting by upvotes or comments may not work correctly due to a known bug in Gradio.
15
- """
16
 
17
  df_main = df_orig.select(
18
  "title",
@@ -30,6 +26,7 @@ df_main = df_orig.select(
30
  "abstract",
31
  "paper_id",
32
  )
 
33
  # TODO: Fix this once https://github.com/gradio-app/gradio/issues/10916 is fixed # noqa: FIX002, TD002
34
  # format numbers as strings
35
  df_main = df_main.with_columns(
@@ -130,7 +127,6 @@ with gr.Blocks(css_paths="style.css") as demo:
130
 
131
  num_papers = gr.Textbox(label="Number of papers", value=update_num_papers(df_orig), interactive=False)
132
 
133
- gr.Markdown(NOTE)
134
  df = gr.Dataframe(
135
  value=df_main,
136
  datatype=list(COLUMN_INFO.values()),
 
9
 
10
  DESCRIPTION = "# CVPR 2025"
11
 
 
 
 
 
12
 
13
  df_main = df_orig.select(
14
  "title",
 
26
  "abstract",
27
  "paper_id",
28
  )
29
+
30
  # TODO: Fix this once https://github.com/gradio-app/gradio/issues/10916 is fixed # noqa: FIX002, TD002
31
  # format numbers as strings
32
  df_main = df_main.with_columns(
 
127
 
128
  num_papers = gr.Textbox(label="Number of papers", value=update_num_papers(df_orig), interactive=False)
129
 
 
130
  df = gr.Dataframe(
131
  value=df_main,
132
  datatype=list(COLUMN_INFO.values()),