Spaces:
Sleeping
Sleeping
Update chess_image_to_fen_tool.py
Browse files
chess_image_to_fen_tool.py
CHANGED
@@ -38,7 +38,7 @@ def chess_image_to_fen(image_path_in_base64:str, current_player: Literal["black"
|
|
38 |
payload = {
|
39 |
"board_orientation": "predict",
|
40 |
"cropped": False,
|
41 |
-
"current_player":
|
42 |
"image": base64_image_encoded,
|
43 |
"predict_turn": False
|
44 |
}
|
|
|
38 |
payload = {
|
39 |
"board_orientation": "predict",
|
40 |
"cropped": False,
|
41 |
+
"current_player": current_player,
|
42 |
"image": base64_image_encoded,
|
43 |
"predict_turn": False
|
44 |
}
|