ling99 commited on
Commit
9037ee9
·
verified ·
1 Parent(s): c735cf7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -165,7 +165,7 @@ def get_cn_table(model_table_df):
165
  return values
166
 
167
  def build_leaderboard_tab(leaderboard_table_file_en, leaderboard_table_file_cn, show_plot=False):
168
- if leaderboard_table_file:
169
  data_en = load_leaderboard_table_csv(leaderboard_table_file_en)
170
  data_cn = load_leaderboard_table_csv(leaderboard_table_file_cn)
171
 
 
165
  return values
166
 
167
  def build_leaderboard_tab(leaderboard_table_file_en, leaderboard_table_file_cn, show_plot=False):
168
+ if leaderboard_table_file_en:
169
  data_en = load_leaderboard_table_csv(leaderboard_table_file_en)
170
  data_cn = load_leaderboard_table_csv(leaderboard_table_file_cn)
171