Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -370,7 +370,7 @@ def get_final_score_i2v(df, selected_columns):
|
|
370 |
df['Selected Score'] = selected_score
|
371 |
else:
|
372 |
df.insert(1, 'Selected Score', selected_score)
|
373 |
-
df.loc[df.isnull().any(axis=1), ['Total Score', 'I2V Score']] = 'N.A.'
|
374 |
# df.fillna('N.A.', inplace=True)
|
375 |
return df
|
376 |
|
|
|
370 |
df['Selected Score'] = selected_score
|
371 |
else:
|
372 |
df.insert(1, 'Selected Score', selected_score)
|
373 |
+
df.loc[df[9:].isnull().any(axis=1), ['Total Score', 'I2V Score']] = 'N.A.'
|
374 |
# df.fillna('N.A.', inplace=True)
|
375 |
return df
|
376 |
|