agazo commited on
Commit
1361e95
·
verified ·
1 Parent(s): 4510ac4

Update chess_image_to_fen_tool.py

Browse files
Files changed (1) hide show
  1. chess_image_to_fen_tool.py +1 -1
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": "black",
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
  }