Spaces:
Sleeping
Sleeping
valentin urena
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ with gr.Blocks(fill_height=True) as demo:
|
|
94 |
move_input = gr.Textbox(label="Enter your move in algebraic notation (e.g., e4, Nf3, Bxc4)")
|
95 |
|
96 |
btn = gr.Button("Submit Move")
|
97 |
-
btn.click(play_match.generate_moves, inputs=
|
98 |
|
99 |
reset_btn = gr.Button("Reset Game")
|
100 |
reset_btn.click(play_match.reset_board, outputs=board_image)
|
|
|
94 |
move_input = gr.Textbox(label="Enter your move in algebraic notation (e.g., e4, Nf3, Bxc4)")
|
95 |
|
96 |
btn = gr.Button("Submit Move")
|
97 |
+
btn.click(play_match.generate_moves, inputs=move_input, outputs=board_image)
|
98 |
|
99 |
reset_btn = gr.Button("Reset Game")
|
100 |
reset_btn.click(play_match.reset_board, outputs=board_image)
|