Spaces:
Runtime error
Runtime error
fix issue with datetime
Browse files
app.py
CHANGED
|
@@ -181,16 +181,15 @@ def get_last_refresh_time(path) -> str:
|
|
| 181 |
|
| 182 |
|
| 183 |
with block:
|
| 184 |
-
gr.Markdown("""
|
| 185 |
-
# ๐ Deep Reinforcement Learning Course Leaderboard ๐
|
| 186 |
-
|
| 187 |
-
Presenting the latest leaderboard from the Hugging Face Deep RL Course.
|
| 188 |
-
""")
|
| 189 |
-
|
| 190 |
path_ = download_leaderboard_dataset()
|
| 191 |
-
|
| 192 |
# Get the last refresh time
|
| 193 |
last_refresh_time = get_last_refresh_time(path_)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 194 |
|
| 195 |
gr.Markdown(f"**Last Data Refresh:** {last_refresh_time}")
|
| 196 |
|
|
|
|
| 181 |
|
| 182 |
|
| 183 |
with block:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 184 |
path_ = download_leaderboard_dataset()
|
|
|
|
| 185 |
# Get the last refresh time
|
| 186 |
last_refresh_time = get_last_refresh_time(path_)
|
| 187 |
+
|
| 188 |
+
gr.Markdown(f"""
|
| 189 |
+
# ๐ Deep Reinforcement Learning Course Leaderboard ๐
|
| 190 |
+
|
| 191 |
+
Presenting the latest leaderboard from the Hugging Face Deep RL Course - refresh ({last_refresh_time}).
|
| 192 |
+
""")
|
| 193 |
|
| 194 |
gr.Markdown(f"**Last Data Refresh:** {last_refresh_time}")
|
| 195 |
|