Spaces:
Running
Running
ok let's do like this
Browse files
app.py
CHANGED
|
@@ -23,8 +23,8 @@ def get_plots(task):
|
|
| 23 |
def get_model_names(task_data):
|
| 24 |
#TODO: add link to results in model card of each model
|
| 25 |
task_df= pd.read_csv('data/energy/'+task_data)
|
| 26 |
-
|
| 27 |
-
model_names = [
|
| 28 |
return model_names
|
| 29 |
|
| 30 |
|
|
|
|
| 23 |
def get_model_names(task_data):
|
| 24 |
#TODO: add link to results in model card of each model
|
| 25 |
task_df= pd.read_csv('data/energy/'+task_data)
|
| 26 |
+
task_df=task_df.drop_duplicates(subset=['model'])
|
| 27 |
+
model_names = task_df[['model']]
|
| 28 |
return model_names
|
| 29 |
|
| 30 |
|