ynhe commited on
Commit
15e86cf
·
verified ·
1 Parent(s): 034c9c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -373,7 +373,7 @@ def get_final_score_i2v(df, selected_columns):
373
  df.insert(1, 'Selected Score', selected_score)
374
  # df.loc[df[9:].isnull().any(axis=1), ['Total Score', 'I2V Score']] = 'N.A.'
375
  mask = df.iloc[:, 5:-5].isnull().any(axis=1)
376
- df.loc[mask, ['Total Score', 'I2V Score']] = np.nan
377
  # df.fillna('N.A.', inplace=True)
378
  return df
379
 
 
373
  df.insert(1, 'Selected Score', selected_score)
374
  # df.loc[df[9:].isnull().any(axis=1), ['Total Score', 'I2V Score']] = 'N.A.'
375
  mask = df.iloc[:, 5:-5].isnull().any(axis=1)
376
+ df.loc[mask, ['Total Score', 'I2V Score','Selected Score' ]] = np.nan
377
  # df.fillna('N.A.', inplace=True)
378
  return df
379