ThomasSimonini HF staff commited on
Commit
c595fd6
·
1 Parent(s): 413416c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -336,7 +336,7 @@ def add_certified_user(hf_username, first_name, last_name, pass_percentage):
336
 
337
  check = history.loc[history['hf_username'] == hf_username]
338
  print("CHECK", check)
339
- print("INDEX", check.index)
340
  new_row = pd.DataFrame({'hf_username': hf_username, 'first_name': first_name, 'last_name': last_name, 'pass_percentage': pass_percentage, 'datetime': time.time()}, index=[0])
341
  history = pd.concat([new_row, history[:]]).reset_index(drop=True)
342
  print("HISTORY", history)
 
336
 
337
  check = history.loc[history['hf_username'] == hf_username]
338
  print("CHECK", check)
339
+ print("INDEX", check.index[0])
340
  new_row = pd.DataFrame({'hf_username': hf_username, 'first_name': first_name, 'last_name': last_name, 'pass_percentage': pass_percentage, 'datetime': time.time()}, index=[0])
341
  history = pd.concat([new_row, history[:]]).reset_index(drop=True)
342
  print("HISTORY", history)