lunarflu HF staff commited on
Commit
b64de75
1 Parent(s): 62dad61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -121,8 +121,9 @@ async def on_ready():
121
 
122
 
123
  # updates both leaderboards
124
- #remove_huggingfolks.start()
125
  give_verified_roles.start()
 
 
126
  print("------------------------------------------------------------------------")
127
  except Exception as e:
128
  print(f"on_ready Error: {e}")
@@ -577,7 +578,7 @@ def format_hyperlink(username):
577
  return f'<a target="_blank" href="https://huggingface.co/{username}" style="color: var(--link-text-color);">{username}</a>'
578
 
579
 
580
- @tasks.loop(minutes=1)
581
  async def remove_huggingfolks():
582
  try:
583
  # remove huggingfolks
 
121
 
122
 
123
  # updates both leaderboards
 
124
  give_verified_roles.start()
125
+ remove_huggingfolks.start()
126
+
127
  print("------------------------------------------------------------------------")
128
  except Exception as e:
129
  print(f"on_ready Error: {e}")
 
578
  return f'<a target="_blank" href="https://huggingface.co/{username}" style="color: var(--link-text-color);">{username}</a>'
579
 
580
 
581
+ @tasks.loop(minutes=10)
582
  async def remove_huggingfolks():
583
  try:
584
  # remove huggingfolks