ouhenio commited on
Commit
fb5493c
verified
1 Parent(s): 7a0e457

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -184,8 +184,7 @@ def create_leaderboard_ui():
184
 
185
  styled_html = f"""
186
  <div style="margin: 20px 0;">
187
- <h2>馃弳 Leaderboard of User Contributions</h2>
188
- <p>Last updated: {time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(last_update_time))}</p>
189
  <style>
190
  .leaderboard-table {{
191
  width: 100%;
@@ -247,7 +246,6 @@ def create_leaderboard_ui():
247
  }}
248
  </style>
249
  {df_html}
250
- <p style="color: #ccc;"><small>Note: This leaderboard shows user contributions to the BLEND-ES project across all countries.</small></p>
251
  </div>
252
  """
253
  return styled_html
@@ -264,7 +262,7 @@ with gr.Blocks(theme=gr.themes.Default()) as demo:
264
 
265
  leaderboard_html = gr.HTML(create_leaderboard_ui)
266
 
267
- refresh_btn = gr.Button("馃攧 Refresh Data", variant="primary")
268
  refresh_btn.click(fn=refresh_data, outputs=leaderboard_html)
269
 
270
  gr.mount_gradio_app(app, demo, path="/")
 
184
 
185
  styled_html = f"""
186
  <div style="margin: 20px 0;">
187
+ <p>脷ltima Actualizaci贸n: {time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(last_update_time))}</p>
 
188
  <style>
189
  .leaderboard-table {{
190
  width: 100%;
 
246
  }}
247
  </style>
248
  {df_html}
 
249
  </div>
250
  """
251
  return styled_html
 
262
 
263
  leaderboard_html = gr.HTML(create_leaderboard_ui)
264
 
265
+ refresh_btn = gr.Button("馃攧 Actualizar Datos", variant="primary")
266
  refresh_btn.click(fn=refresh_data, outputs=leaderboard_html)
267
 
268
  gr.mount_gradio_app(app, demo, path="/")