ThomasSimonini HF staff commited on
Commit
48f6ca1
β€’
1 Parent(s): 7dfd834

Test video

Browse files
Files changed (1) hide show
  1. app.py +8 -1
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>