Roger Condori commited on
Commit
9aee0fd
1 Parent(s): fd5b6f3

fix description

Browse files
Files changed (1) hide show
  1. conversadocs/llm_chess.py +1 -1
conversadocs/llm_chess.py CHANGED
@@ -78,7 +78,7 @@ class ChessGame:
78
  for i in range(10): #tries
79
  if i == 9:
80
  svg_board = chess.svg.board(self.board, size=350)
81
- return svg_board, ",".join(get_legal_moves(self.board)), "The model can't do a valid move"
82
  try:
83
  """Returns the move from the prompt."""
84
  content = self.docschatllm.llm.predict(prompt) ### from selected model ###
 
78
  for i in range(10): #tries
79
  if i == 9:
80
  svg_board = chess.svg.board(self.board, size=350)
81
+ return svg_board, ",".join(get_legal_moves(self.board)), "The model can't do a valid move. Restart the game"
82
  try:
83
  """Returns the move from the prompt."""
84
  content = self.docschatllm.llm.predict(prompt) ### from selected model ###