Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -52,6 +52,9 @@ async def on_ready():
|
|
52 |
"""import data from google sheets -> HF Space df (doesn't make API call this way, as it's read-only)"""
|
53 |
global_df = test_merge
|
54 |
print(f"csv successfully retrieved: \n {global_df}")
|
|
|
|
|
|
|
55 |
|
56 |
@tasks.loop(minutes=1)
|
57 |
async def give_verified_roles():
|
|
|
52 |
"""import data from google sheets -> HF Space df (doesn't make API call this way, as it's read-only)"""
|
53 |
global_df = test_merge
|
54 |
print(f"csv successfully retrieved: \n {global_df}")
|
55 |
+
print(f"We have logged in as {bot.user}")
|
56 |
+
if not give_verified_roles.is_running():
|
57 |
+
give_verified_roles.start()
|
58 |
|
59 |
@tasks.loop(minutes=1)
|
60 |
async def give_verified_roles():
|