gmmcleod commited on
Commit
a2fbc08
·
verified ·
1 Parent(s): 8c96d66

trying to reset

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -174,11 +174,7 @@ def evaluate_model(username, file):
174
  temp_file.write(file.read())
175
 
176
  try:
177
- # metadata_path = "./metadata.csv" # Adjust as necessary
178
- # exp = pd.read_csv(metadata_path)
179
-
180
  exp = read_configuration(dataset["metadata.csv"])
181
-
182
  # stats_model_sectors = []
183
  # stats_model_in_out = []
184
  # for key in exp:
@@ -213,8 +209,6 @@ def evaluate_model(username, file):
213
  # exec_time = end_time - start_time
214
  # print(f"Execution Time: {exec_time} seconds")
215
  except Exception as e:
216
-
217
-
218
  leaderboard_data = pd.concat([leaderboard_data, pd.DataFrame([[username, float("inf"), 0, f"Model Load Error: {str(e)}"]],
219
  columns=["Username", "Execution Time (s)", "Accuracy", "Status"])], ignore_index=True)
220
  return leaderboard_data.values.tolist()
 
174
  temp_file.write(file.read())
175
 
176
  try:
 
 
 
177
  exp = read_configuration(dataset["metadata.csv"])
 
178
  # stats_model_sectors = []
179
  # stats_model_in_out = []
180
  # for key in exp:
 
209
  # exec_time = end_time - start_time
210
  # print(f"Execution Time: {exec_time} seconds")
211
  except Exception as e:
 
 
212
  leaderboard_data = pd.concat([leaderboard_data, pd.DataFrame([[username, float("inf"), 0, f"Model Load Error: {str(e)}"]],
213
  columns=["Username", "Execution Time (s)", "Accuracy", "Status"])], ignore_index=True)
214
  return leaderboard_data.values.tolist()