Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,15 +8,15 @@ import stat
|
|
| 8 |
|
| 9 |
def eval(fenstring):
|
| 10 |
output = ""
|
| 11 |
-
os.chmod("./
|
| 12 |
-
engine = chess.engine.SimpleEngine.popen_uci("./
|
| 13 |
|
| 14 |
|
| 15 |
# Score: PovScore(Cp(+20), WHITE)
|
| 16 |
|
| 17 |
board = chess.Board(fenstring)
|
| 18 |
|
| 19 |
-
info = engine.analyse(board, chess.engine.Limit(depth=
|
| 20 |
|
| 21 |
|
| 22 |
# Score: PovScore(Mate(+1), WHITE)
|
|
|
|
| 8 |
|
| 9 |
def eval(fenstring):
|
| 10 |
output = ""
|
| 11 |
+
os.chmod("./combusken_linux_amd64",0o0777)
|
| 12 |
+
engine = chess.engine.SimpleEngine.popen_uci("./combusken_linux_amd64")
|
| 13 |
|
| 14 |
|
| 15 |
# Score: PovScore(Cp(+20), WHITE)
|
| 16 |
|
| 17 |
board = chess.Board(fenstring)
|
| 18 |
|
| 19 |
+
info = engine.analyse(board, chess.engine.Limit(depth=1),multipv=3)
|
| 20 |
|
| 21 |
|
| 22 |
# Score: PovScore(Mate(+1), WHITE)
|