Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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,
|
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>')
|