MINGYISU commited on
Commit
8cbf5e6
·
1 Parent(s): 05eb353
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -97,7 +97,6 @@ with gr.Blocks() as block:
97
  df2_i = df2[v2.COLUMN_NAMES_I]
98
  df1 = df.rename(columns={'V1-Overall': 'Image-Overall'})
99
  df1 = df1[v2.BASE_COLS + v2.SUB_TASKS_I + ['Image-Overall']]
100
- df1['Models'] = df1['Models'].apply(lambda x: x + ' (V1)' if not x.endswith(' (V1)') else x)
101
  combined_df = pd.concat([df1, df2_i], ignore_index=True)
102
  for task in v2.TASKS_I:
103
  combined_df[task] = combined_df[task].apply(lambda score: '-' if pd.isna(score) else score)
 
97
  df2_i = df2[v2.COLUMN_NAMES_I]
98
  df1 = df.rename(columns={'V1-Overall': 'Image-Overall'})
99
  df1 = df1[v2.BASE_COLS + v2.SUB_TASKS_I + ['Image-Overall']]
 
100
  combined_df = pd.concat([df1, df2_i], ignore_index=True)
101
  for task in v2.TASKS_I:
102
  combined_df[task] = combined_df[task].apply(lambda score: '-' if pd.isna(score) else score)