HowieHwong commited on
Commit
562b70a
1 Parent(s): d7e0da6

add table data

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ data = pd.read_csv('leaderboard.csv')
9
  demo = gr.Interface(
10
  filter_records,
11
  [
12
- gr.Dataframe(data, headers=list(data.columns), datatype=list(data.dtypes)),
13
  gr.Dropdown(["Toxicity", "Bias", "Value-alignment"]),
14
  ],
15
  "dataframe",
 
9
  demo = gr.Interface(
10
  filter_records,
11
  [
12
+ gr.Dataframe(data, headers=list(data.columns)),
13
  gr.Dropdown(["Toxicity", "Bias", "Value-alignment"]),
14
  ],
15
  "dataframe",