Spaces:
Running
Running
Update app.py
Browse files
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)
|
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 |
|