bstraehle commited on
Commit
3431d66
·
verified ·
1 Parent(s): c0a2494

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,13 +8,13 @@ import requests
8
  from typing import Optional, List, Dict, Any
9
 
10
  def position_evaluation(fen):
11
- """Chess position evaluation.
12
 
13
  Args:
14
  fen (str): Chess position in FEN
15
 
16
  Returns:
17
- str: Chess position evaluation
18
  """
19
  url = "https://stockfish.online/api/s/v2.php"
20
  params = {"fen": fen, "depth": 12}
 
8
  from typing import Optional, List, Dict, Any
9
 
10
  def position_evaluation(fen):
11
+ """Chess position evaluation. Get best move with continuation in UCI notation for chess position in FEN.
12
 
13
  Args:
14
  fen (str): Chess position in FEN
15
 
16
  Returns:
17
+ str: Best move with continuation in UCI notation
18
  """
19
  url = "https://stockfish.online/api/s/v2.php"
20
  params = {"fen": fen, "depth": 12}