Skip to content

Commit

Permalink
recognize "--model" for TamaGo in "Load network weighs" menu
Browse files Browse the repository at this point in the history
  • Loading branch information
kaorahi committed Dec 22, 2023
1 parent 61a42da commit b5446e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ function create_leelaz () {
const weight_options = [
'-w', '--weights', // Leela Zero
'-model', // KataGo
'--model', // TamaGo
]
const idx = h.leelaz_args.findIndex(z => weight_options.includes(z))
return (idx >= 0) && (idx + 1)
Expand Down

0 comments on commit b5446e3

Please sign in to comment.