Spaces:
Sleeping
Sleeping
Update chess_image_to_fen_tool.py
Browse files
chess_image_to_fen_tool.py
CHANGED
@@ -14,7 +14,7 @@ def chess_image_to_fen(image_path_in_base64:str, current_player: Literal["black"
|
|
14 |
image_path_in_base64: Path to the image file in base64 format.
|
15 |
current_player: Whose turn it is to play. Must be either 'black' or 'white'.
|
16 |
Returns:
|
17 |
-
JSON with FEN (Forsyth-Edwards Notation) string representing the current board position.
|
18 |
"""
|
19 |
print(f"Image to Fen invocada com os seguintes parametros:")
|
20 |
print(f"image_path: {image_path_in_base64}")
|
|
|
14 |
image_path_in_base64: Path to the image file in base64 format.
|
15 |
current_player: Whose turn it is to play. Must be either 'black' or 'white'.
|
16 |
Returns:
|
17 |
+
JSON with FEN (Forsyth-Edwards Notation) string representing the current board position. Use this to find the best move.
|
18 |
"""
|
19 |
print(f"Image to Fen invocada com os seguintes parametros:")
|
20 |
print(f"image_path: {image_path_in_base64}")
|