mlabonne commited on
Commit
1410eeb
·
verified ·
1 Parent(s): ee5b276

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -450,8 +450,8 @@ with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
450
  model_id_black = gr.Textbox(label="Black Model ID", value="EleutherAI/pythia-70m-deduped")
451
  btn = gr.Button("Fight!")
452
  with gr.Row():
453
- gr.HTML("""<div id='chessboard' style='width: 50%; text-align: center; display: block; margin-left: auto; margin-right: auto; height: 100px; background-color: #f0f0f0;'></div>""")
454
- out = gr.Image(width=512, show_label=False, show_share_button=False, show_download_button=False, elem_id="chessboard")
455
  btn.click(fn=update, inputs=[model_id_white, model_id_black], outputs=out)
456
  gr.Markdown('<div align="center"><p style="font-size: 36px;">🏆 Leaderboard</p></div>')
457
  leaderboard = gr.Dataframe(value=get_leaderboard, every=60)
 
450
  model_id_black = gr.Textbox(label="Black Model ID", value="EleutherAI/pythia-70m-deduped")
451
  btn = gr.Button("Fight!")
452
  with gr.Row():
453
+ gr.HTML("""<div id='chessboard' style='width: 50%; text-align: center; display: block;'></div>""")
454
+ out = gr.Image(width=512, height=768, show_label=False, show_share_button=False, show_download_button=False, elem_id="chessboard")
455
  btn.click(fn=update, inputs=[model_id_white, model_id_black], outputs=out)
456
  gr.Markdown('<div align="center"><p style="font-size: 36px;">🏆 Leaderboard</p></div>')
457
  leaderboard = gr.Dataframe(value=get_leaderboard, every=60)