SanaomerUnity commited on
Commit
316ed00
·
1 Parent(s): 131b69d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -11,15 +11,14 @@ import stat
11
 
12
  def eval(fenstring):
13
  output = ""
14
- os.chmod("./stockfish_14_x64_popcnt",0o0777)
15
- engine = chess.engine.SimpleEngine.popen_uci("./stockfish_14_x64_popcnt")
16
- engine.configure({"Skill Level":13})
17
 
18
  # Score: PovScore(Cp(+20), WHITE)
19
 
20
  board = chess.Board(fenstring)
21
 
22
- info = engine.analyse(board, chess.engine.Limit(depth=13),multipv=3)
23
 
24
 
25
  # Score: PovScore(Mate(+1), WHITE)
 
11
 
12
  def eval(fenstring):
13
  output = ""
14
+ os.chmod("./komodo-14.1-linux",0o0777)
15
+ engine = chess.engine.SimpleEngine.popen_uci("./komodo-14.1-linux")
 
16
 
17
  # Score: PovScore(Cp(+20), WHITE)
18
 
19
  board = chess.Board(fenstring)
20
 
21
+ info = engine.analyse(board, chess.engine.Limit(depth=8),multipv=3)
22
 
23
 
24
  # Score: PovScore(Mate(+1), WHITE)