ThomasSimonini HF Staff commited on
Commit
6e9feb9
·
verified ·
1 Parent(s): 77dd101

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -18,6 +18,7 @@ def check_user_score(username):
18
  # Function to check if certificate entry exists
19
  def has_certificate_entry(username):
20
  cert_data = load_dataset(CERTIFICATES_DATASET, split="train", download_mode="force_redownload")
 
21
  return any(row["username"] == username for row in cert_data)
22
 
23
  # Function to add certificate entry
 
18
  # Function to check if certificate entry exists
19
  def has_certificate_entry(username):
20
  cert_data = load_dataset(CERTIFICATES_DATASET, split="train", download_mode="force_redownload")
21
+ print(username)
22
  return any(row["username"] == username for row in cert_data)
23
 
24
  # Function to add certificate entry