ynhe commited on
Commit
d10d018
1 Parent(s): d2a36c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -199,7 +199,7 @@ def get_final_score_i2v(df, selected_columns):
199
 
200
  def get_final_score_quality(df, selected_columns):
201
  normalize_df = get_normalized_df(df)
202
- for name in normalize_df.drop('Model Name (clickable)', axis=1).drop('Source', axis=1):
203
  normalize_df[name] = normalize_df[name]*DIM_WEIGHT[name]
204
  quality_score = normalize_df[QUALITY_TAB].sum(axis=1) / sum([DIM_WEIGHT[i] for i in QUALITY_TAB])
205
 
 
199
 
200
  def get_final_score_quality(df, selected_columns):
201
  normalize_df = get_normalized_df(df)
202
+ for name in normalize_df.drop('Model Name (clickable)', axis=1):
203
  normalize_df[name] = normalize_df[name]*DIM_WEIGHT[name]
204
  quality_score = normalize_df[QUALITY_TAB].sum(axis=1) / sum([DIM_WEIGHT[i] for i in QUALITY_TAB])
205