Spaces:
Sleeping
Sleeping
Alexandre Gazola
commited on
Commit
·
56c430a
1
Parent(s):
72846b4
fix
Browse files
chess_image_to_fen_tool.py
CHANGED
@@ -20,6 +20,8 @@ def chess_image_to_fen(image_path_in_base64:str, current_player: Literal["black"
|
|
20 |
print(f"current_player: {current_player}")
|
21 |
|
22 |
|
|
|
|
|
23 |
if current_player not in ["black", "white"]:
|
24 |
raise ValueError("current_player must be 'black' or 'white'")
|
25 |
|
|
|
20 |
print(f"current_player: {current_player}")
|
21 |
|
22 |
|
23 |
+
CHESSVISION_TO_FEN_URL = "http://app.chessvision.ai/predict"
|
24 |
+
|
25 |
if current_player not in ["black", "white"]:
|
26 |
raise ValueError("current_player must be 'black' or 'white'")
|
27 |
|