Quentin GallouΓ©dec commited on
Commit
8071283
β€’
1 Parent(s): 08990fb
Files changed (1) hide show
  1. app.py +5 -8
app.py CHANGED
@@ -165,11 +165,9 @@ def format_df(df: pd.DataFrame):
165
  return df.values.tolist()
166
 
167
 
168
- TITLE = """
169
- πŸš€ Open RL Leaderboard
170
- """
171
 
172
- INTRODUCTION_TEXT = """
173
  Welcome to the Open RL Leaderboard! This is a community-driven benchmark for reinforcement learning models.
174
  """
175
 
@@ -247,8 +245,7 @@ If you encounter any issue, please open an issue on the [Open RL Leaderboard rep
247
 
248
 
249
  with gr.Blocks() as demo:
250
- gr.HTML(TITLE)
251
- gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
252
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
253
  with gr.TabItem("πŸ… Leaderboard"):
254
  df = get_leaderboard_df()
@@ -262,7 +259,7 @@ with gr.Blocks() as demo:
262
  env_df = select_env(df, env_id)
263
  gr.components.Dataframe(
264
  value=format_df(env_df),
265
- headers=["πŸ† Ranking", "πŸ§‘ User", "πŸ€– Model id", "πŸ“Š Mean episodic return"],
266
  datatype=["number", "markdown", "markdown", "number"],
267
  row_count=(10, "fixed"),
268
  scale=3,
@@ -287,7 +284,7 @@ with gr.Blocks() as demo:
287
  )
288
  # Doesn't loop for the moment, see https://github.com/gradio-app/gradio/issues/7689
289
 
290
- with gr.TabItem("πŸ“ About", elem_id="llm-benchmark-tab-table", id=2):
291
  gr.Markdown(ABOUT_TEXT)
292
 
293
 
 
165
  return df.values.tolist()
166
 
167
 
168
+ HEADING = """
169
+ # πŸ₯‡ Open RL Leaderboard πŸ₯‡
 
170
 
 
171
  Welcome to the Open RL Leaderboard! This is a community-driven benchmark for reinforcement learning models.
172
  """
173
 
 
245
 
246
 
247
  with gr.Blocks() as demo:
248
+ gr.Markdown(HEADING)
 
249
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
250
  with gr.TabItem("πŸ… Leaderboard"):
251
  df = get_leaderboard_df()
 
259
  env_df = select_env(df, env_id)
260
  gr.components.Dataframe(
261
  value=format_df(env_df),
262
+ headers=["πŸ†", "πŸ§‘ User", "πŸ€– Model id", "πŸ“Š Mean episodic return"],
263
  datatype=["number", "markdown", "markdown", "number"],
264
  row_count=(10, "fixed"),
265
  scale=3,
 
284
  )
285
  # Doesn't loop for the moment, see https://github.com/gradio-app/gradio/issues/7689
286
 
287
+ with gr.TabItem("πŸ“ About"):
288
  gr.Markdown(ABOUT_TEXT)
289
 
290