mlabonne commited on
Commit
76db00f
·
verified ·
1 Parent(s): b5266f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -451,7 +451,7 @@ with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
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, width=512, show_label=False, show_share_button=False, show_download_button=False, elem_id="chessboard")
455
  gr.HTML("""<div id='chessboard2' style='width: 50%; text-align: center; display: block;'></div>""")
456
  btn.click(fn=update, inputs=[model_id_white, model_id_black], outputs=out)
457
  gr.Markdown('<div align="center"><p style="font-size: 36px;">🏆 Leaderboard</p></div>')
 
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=512, show_label=False, show_share_button=False, show_download_button=False, elem_id="chessboard")
455
  gr.HTML("""<div id='chessboard2' style='width: 50%; text-align: center; display: block;'></div>""")
456
  btn.click(fn=update, inputs=[model_id_white, model_id_black], outputs=out)
457
  gr.Markdown('<div align="center"><p style="font-size: 36px;">🏆 Leaderboard</p></div>')