Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from chess_search.utils import position_to_tokens, replay_moves
|
|
| 9 |
|
| 10 |
dset = load_dataset("Lichess/chess-puzzles", split="train")
|
| 11 |
puzzle_lookup = {row["PuzzleId"]: i for i, row in enumerate(dset)}
|
| 12 |
-
idx = BitmapIndex.load("
|
| 13 |
|
| 14 |
app = FastAPI()
|
| 15 |
app.mount("/static", StaticFiles(directory="static"), name="static")
|
|
|
|
| 9 |
|
| 10 |
dset = load_dataset("Lichess/chess-puzzles", split="train")
|
| 11 |
puzzle_lookup = {row["PuzzleId"]: i for i, row in enumerate(dset)}
|
| 12 |
+
idx = BitmapIndex.load("data.mdb")
|
| 13 |
|
| 14 |
app = FastAPI()
|
| 15 |
app.mount("/static", StaticFiles(directory="static"), name="static")
|