Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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=
|
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
|