pratikshahp commited on
Commit
2430418
·
verified ·
1 Parent(s): 71ea2dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ def initialize_game():
6
  current_player = "X"
7
  status = "Player 1's turn (X)"
8
  # Create 9 buttons for the grid
9
- buttons = [gr.Button(value="", elem_classes=["cell-btn"]) for _ in range(9)]
10
  return board, current_player, status, *buttons
11
 
12
  # Check for a winner
 
6
  current_player = "X"
7
  status = "Player 1's turn (X)"
8
  # Create 9 buttons for the grid
9
+ buttons = [gr.Button(value="", elem_classes=["cell-btn"], interactive=True) for _ in range(9)]
10
  return board, current_player, status, *buttons
11
 
12
  # Check for a winner