mikethor007 commited on
Commit
e732c32
·
verified ·
1 Parent(s): 10b571d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -79,7 +79,7 @@ def chess_image_to_fen_tool(task_id:str, current_player: Literal["black", "white
79
  """
80
  Convert chess image to FEN (Forsyth-Edwards Notation) notation.
81
  Args:
82
- image_path: Path to the image file.
83
  current_player: Whose turn it is to play. Must be either 'black' or 'white'.
84
  Returns:
85
  JSON with FEN (Forsyth-Edwards Notation) string representing the current board position.
@@ -272,7 +272,7 @@ class BasicAgent:
272
  # tools = [search_web_tool]
273
  # chat_with_tools = chat.bind_tools(tools)
274
 
275
- def __call__(self, question: str, path: str) -> str:
276
  print(f"Agent received question : {question}...")
277
 
278
  messages = {
 
79
  """
80
  Convert chess image to FEN (Forsyth-Edwards Notation) notation.
81
  Args:
82
+ task_id: Task ID necessary to retrieving the image with the chess board position.
83
  current_player: Whose turn it is to play. Must be either 'black' or 'white'.
84
  Returns:
85
  JSON with FEN (Forsyth-Edwards Notation) string representing the current board position.
 
272
  # tools = [search_web_tool]
273
  # chat_with_tools = chat.bind_tools(tools)
274
 
275
+ def __call__(self, question: str, task_id: str) -> str:
276
  print(f"Agent received question : {question}...")
277
 
278
  messages = {