Commit
β’
48f6ca1
1
Parent(s):
7dfd834
Test video
Browse files
app.py
CHANGED
@@ -162,8 +162,15 @@ def get_info_display(dataframe,env_name,name_leaderboard,is_empty):
|
|
162 |
if not is_empty:
|
163 |
markdown = """
|
164 |
<div class='infoPoint'>
|
165 |
-
<h1> {name_leaderboard} </h1>
|
166 |
<br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
<p> This is a leaderboard of <b>{len_dataframe}</b> agents, from <b>{num_unique_users}</b> unique users, playing {env_name} π©βπ. </p>
|
168 |
<br>
|
169 |
<p> We use <b>lower bound result to sort the models: mean_reward - std_reward.</b> </p>
|
|
|
162 |
if not is_empty:
|
163 |
markdown = """
|
164 |
<div class='infoPoint'>
|
165 |
+
<h1 style="text-align:center"> {name_leaderboard} </h1>
|
166 |
<br>
|
167 |
+
<video controls width="250">
|
168 |
+
|
169 |
+
<source src="https://huggingface.co/sb3/ppo-CartPole-v1/resolve/main/replay.mp4"
|
170 |
+
>
|
171 |
+
</video>
|
172 |
+
|
173 |
+
</video>
|
174 |
<p> This is a leaderboard of <b>{len_dataframe}</b> agents, from <b>{num_unique_users}</b> unique users, playing {env_name} π©βπ. </p>
|
175 |
<br>
|
176 |
<p> We use <b>lower bound result to sort the models: mean_reward - std_reward.</b> </p>
|