christopher commited on
Commit
218d7fb
·
1 Parent(s): b8ff17c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import chess
6
  from datasets import load_dataset
7
  import pickle
8
  import time
9
-
10
 
11
  def board_to_tokens(board):
12
  return [(board.piece_at(sq).symbol(), chess.square_name(sq)) for sq in chess.SQUARES if board.piece_at(sq)]
 
6
  from datasets import load_dataset
7
  import pickle
8
  import time
9
+ from pyroaring import BitMap
10
 
11
  def board_to_tokens(board):
12
  return [(board.piece_at(sq).symbol(), chess.square_name(sq)) for sq in chess.SQUARES if board.piece_at(sq)]