Update app.py
Browse files
app.py
CHANGED
@@ -34,11 +34,11 @@ from src.envs import API, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH, QUEUE_REPO, REP
|
|
34 |
# import copy
|
35 |
|
36 |
def load_data(data_path):
|
37 |
-
columns = ['Unlearned_Methods','Pre-ASR',
|
38 |
-
columns_sorted = ['Unlearned_Methods','Pre-ASR',
|
39 |
|
40 |
df = pd.read_csv(data_path).dropna()
|
41 |
-
df['Post-ASR'] = df['Post-ASR'].round(0)
|
42 |
|
43 |
# rank according to the Score column
|
44 |
df = df.sort_values(by='Post-ASR', ascending=False)
|
|
|
34 |
# import copy
|
35 |
|
36 |
def load_data(data_path):
|
37 |
+
columns = ['Unlearned_Methods','Pre-ASR','Post-ASR','FID','CLIP-Score']
|
38 |
+
columns_sorted = ['Unlearned_Methods','Pre-ASR','Post-ASR','FID','CLIP-Score']
|
39 |
|
40 |
df = pd.read_csv(data_path).dropna()
|
41 |
+
# df['Post-ASR'] = df['Post-ASR'].round(0)
|
42 |
|
43 |
# rank according to the Score column
|
44 |
df = df.sort_values(by='Post-ASR', ascending=False)
|