Spaces:
Sleeping
Sleeping
Alexandre Gazola
commited on
Commit
·
4082859
1
Parent(s):
56c430a
fix
Browse files
chess_image_to_fen_tool.py
CHANGED
@@ -3,7 +3,7 @@ from image_to_text_tool import image_to_text
|
|
3 |
from utils import get_base64
|
4 |
from typing import Literal, Dict
|
5 |
from utils import get_base64
|
6 |
-
|
7 |
|
8 |
@tool
|
9 |
def chess_image_to_fen(image_path_in_base64:str, current_player: Literal["black", "white"]) -> Dict[str,str]:
|
|
|
3 |
from utils import get_base64
|
4 |
from typing import Literal, Dict
|
5 |
from utils import get_base64
|
6 |
+
import requests
|
7 |
|
8 |
@tool
|
9 |
def chess_image_to_fen(image_path_in_base64:str, current_player: Literal["black", "white"]) -> Dict[str,str]:
|