fixed limit for external engines and added arguments to web.py
This commit is contained in:
6
web.py
6
web.py
@@ -1,7 +1,9 @@
|
||||
from chesspp import engine
|
||||
from chesspp import web
|
||||
from main import read_arguments
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
limit = engine.Limit(time=0.5)
|
||||
web.WebInterface(engine.BayesMctsEngine, engine.ClassicMctsEngine, limit).run_app()
|
||||
engine1, engine2, strategy1, strategy2, n_games, time, stockfish_path, lc0_path, n_proc = read_arguments()
|
||||
limit = engine.Limit(time=6)
|
||||
web.WebInterface(engine1, engine2, strategy1, strategy2, stockfish_path, lc0_path, limit).run_app()
|
||||
|
||||
Reference in New Issue
Block a user