Alexandre Gazola commited on
Commit
2322c7c
·
1 Parent(s): a7ef237
Files changed (1) hide show
  1. chess_image_to_fen_tool.py +1 -1
chess_image_to_fen_tool.py CHANGED
@@ -23,7 +23,7 @@ def chess_image_to_fen(image_path_in_base64:str, current_player: Literal["black"
23
  if current_player not in ["black", "white"]:
24
  raise ValueError("current_player must be 'black' or 'white'")
25
 
26
- base64_image = get_base64(chessboard_image_base64_path)
27
 
28
  if not base64_image:
29
  raise ValueError("Failed to encode image to base64.")
 
23
  if current_player not in ["black", "white"]:
24
  raise ValueError("current_player must be 'black' or 'white'")
25
 
26
+ base64_image = get_base64(image_path_in_base64)
27
 
28
  if not base64_image:
29
  raise ValueError("Failed to encode image to base64.")