bhys commited on
Commit
1cdf3ed
1 Parent(s): 8d66a77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -127,10 +127,10 @@ def add_new_eval(
127
  print("Adding new eval")
128
 
129
  # Check if the combination model/org already exists and prints a warning message if yes
130
- if model.lower() in set(
131
- [m.lower() for m in eval_results[dataset_version][val_or_test]["model"]]) and organisation.lower() in set(
132
- [o.lower() for o in eval_results[dataset_version][val_or_test]["organisation"]]):
133
- return format_warning("This model has been already submitted.")
134
 
135
  if path_to_file is None:
136
  return format_warning("Please attach a file.")
 
127
  print("Adding new eval")
128
 
129
  # Check if the combination model/org already exists and prints a warning message if yes
130
+ # if model.lower() in set(
131
+ # [m.lower() for m in eval_results[dataset_version][val_or_test]["model"]]) and organisation.lower() in set(
132
+ # [o.lower() for o in eval_results[dataset_version][val_or_test]["organisation"]]):
133
+ # return format_warning("This model has been already submitted.")
134
 
135
  if path_to_file is None:
136
  return format_warning("Please attach a file.")