christopher commited on
Commit
7817b95
·
verified ·
1 Parent(s): 9f10895

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)]