Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,13 +16,13 @@ def eval(fenstring):
|
|
| 16 |
|
| 17 |
board = chess.Board(fenstring)
|
| 18 |
|
| 19 |
-
info = engine.analyse(board, chess.engine.Limit(depth=
|
| 20 |
|
| 21 |
|
| 22 |
# Score: PovScore(Mate(+1), WHITE)
|
| 23 |
|
| 24 |
engine.quit()
|
| 25 |
return info
|
| 26 |
-
iface = gr.Interface(fn=eval, title="Amoeba
|
| 27 |
iface.queue(api_open=True)
|
| 28 |
iface.launch()
|
|
|
|
| 16 |
|
| 17 |
board = chess.Board(fenstring)
|
| 18 |
|
| 19 |
+
info = engine.analyse(board, chess.engine.Limit(depth=6),multipv=3)
|
| 20 |
|
| 21 |
|
| 22 |
# Score: PovScore(Mate(+1), WHITE)
|
| 23 |
|
| 24 |
engine.quit()
|
| 25 |
return info
|
| 26 |
+
iface = gr.Interface(fn=eval, title="Amoeba 6",inputs="text", outputs="text")
|
| 27 |
iface.queue(api_open=True)
|
| 28 |
iface.launch()
|