Spaces:
Runtime error
Runtime error
rusticluftig
commited on
Commit
·
b33f70b
1
Parent(s):
779bad9
Fix typo in last updated time
Browse files
app.py
CHANGED
@@ -233,7 +233,7 @@ def get_next_update_div(current_block: int, next_update_block: int) -> str:
|
|
233 |
return f"""<div align="center" style="font-size: larger;">Next reward update: <b>{blocks_to_go}</b> blocks (~{int(delta.total_seconds() // 60)} minutes)</div>"""
|
234 |
|
235 |
def get_last_updated_div() -> str:
|
236 |
-
return f"""<div>Last Updated:
|
237 |
|
238 |
def leaderboard_data(
|
239 |
leaderboard: List[ModelData],
|
|
|
233 |
return f"""<div align="center" style="font-size: larger;">Next reward update: <b>{blocks_to_go}</b> blocks (~{int(delta.total_seconds() // 60)} minutes)</div>"""
|
234 |
|
235 |
def get_last_updated_div() -> str:
|
236 |
+
return f"""<div>Last Updated: {datetime.datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S")} (UTC)</div>"""
|
237 |
|
238 |
def leaderboard_data(
|
239 |
leaderboard: List[ModelData],
|