SondosMB commited on
Commit
37cc345
·
verified ·
1 Parent(s): 16a2c27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -183,7 +183,7 @@ def initialize_leaderboard_file():
183
  "Total Questions", "Timestamp", "Team Name"
184
  ]).to_csv(LEADERBOARD_FILE, index=False)
185
 
186
- def initialize_leaderboardpro_file():
187
  """
188
  Ensure the leaderboard file exists and has the correct headers.
189
  """
@@ -544,7 +544,7 @@ def evaluate_predictions_pro(prediction_file, model_name,Team_name ,add_to_leade
544
 
545
  except Exception as e:
546
  return f"Error during evaluation: {str(e)}", load_leaderboard_pro()
547
- initialize_leaderboard_file_pro()
548
 
549
 
550
  # Function to set default mode
 
183
  "Total Questions", "Timestamp", "Team Name"
184
  ]).to_csv(LEADERBOARD_FILE, index=False)
185
 
186
+ def initialize_leaderboard_pro_file():
187
  """
188
  Ensure the leaderboard file exists and has the correct headers.
189
  """
 
544
 
545
  except Exception as e:
546
  return f"Error during evaluation: {str(e)}", load_leaderboard_pro()
547
+ initialize_leaderboard_pro_file()
548
 
549
 
550
  # Function to set default mode