aicodingfun commited on
Commit
54ffd46
·
verified ·
1 Parent(s): 2538bd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -88,9 +88,9 @@ def minimax(board, depth, is_maximizing):
88
  def play_tic_tac_toe(evt: gr.SelectData, board, game_over):
89
 
90
  print(f"Event = {evt}")
91
- print(f"Index = {evt.index}")
92
 
93
- if evt.index is None:
94
  return draw_board(board), "Invalid action! Please click on the board.", False
95
 
96
  if game_over:
 
88
  def play_tic_tac_toe(evt: gr.SelectData, board, game_over):
89
 
90
  print(f"Event = {evt}")
91
+ # print(f"Index = {evt.index}")
92
 
93
+ if evt is None:
94
  return draw_board(board), "Invalid action! Please click on the board.", False
95
 
96
  if game_over: