Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -108,6 +108,7 @@ def update_google_sheet():
|
|
108 |
},
|
109 |
})
|
110 |
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
|
|
111 |
print(f"Google sheet {name} successfully updated at {timestamp}! \n{global_df}")
|
112 |
print(f"------------------------------------------------------------------------")
|
113 |
except Exception as e:
|
@@ -452,7 +453,7 @@ async def remove_huggingfolks():
|
|
452 |
new_table = tabulate(top_30_rows, headers=["Name", "Experience", "Level", "Rank"], tablefmt="plain")
|
453 |
await message.edit(content=f"Updated Leaderboard:\n```\n{new_table}\n```")
|
454 |
print(f"Updated discord leaderboard!")
|
455 |
-
|
456 |
except Exception as e:
|
457 |
print(f"remove_huggingfolks Error: {e}")
|
458 |
|
|
|
108 |
},
|
109 |
})
|
110 |
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
111 |
+
print(f"------------------------------------------------------------------------")
|
112 |
print(f"Google sheet {name} successfully updated at {timestamp}! \n{global_df}")
|
113 |
print(f"------------------------------------------------------------------------")
|
114 |
except Exception as e:
|
|
|
453 |
new_table = tabulate(top_30_rows, headers=["Name", "Experience", "Level", "Rank"], tablefmt="plain")
|
454 |
await message.edit(content=f"Updated Leaderboard:\n```\n{new_table}\n```")
|
455 |
print(f"Updated discord leaderboard!")
|
456 |
+
print(f"------------------------------------------------------------------------")
|
457 |
except Exception as e:
|
458 |
print(f"remove_huggingfolks Error: {e}")
|
459 |
|