ThomasSimonini HF staff commited on
Commit
50e0fff
·
verified ·
1 Parent(s): a51b600

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def add_certified_user(hf_username, pass_percentage, submission_time):
72
  """
73
  print("ADD CERTIFIED USER")
74
  repo.git_pull()
75
- history = pd.read_csv(CERTIFIED_USERS_FILENAME)
76
 
77
  # Check if this hf_username is already in our dataset:
78
  check = history.loc[history['hf_username'] == hf_username]
 
72
  """
73
  print("ADD CERTIFIED USER")
74
  repo.git_pull()
75
+ history = pd.read_csv(os.path.join(CERTIFIED_USERS_DIR, CERTIFIED_USERS_FILENAME))
76
 
77
  # Check if this hf_username is already in our dataset:
78
  check = history.loc[history['hf_username'] == hf_username]