Skip to content

Commit

Permalink
show *.bin in "Load network weights" for TamaGo
Browse files Browse the repository at this point in the history
  • Loading branch information
kaorahi committed Dec 22, 2023
1 parent b5446e3 commit 34247f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1901,7 +1901,8 @@ function load_leelaz_for_black() {load_weight()}
function load_leelaz_for_white() {load_weight(true)}

function select_weight_file(dir) {
const filter = {name: 'Weight Files', extensions: ['gz']}
// *.bin for TamaGo [2023-12-22]
const filter = {name: 'Weight Files (.gz, .bin)', extensions: ['gz', 'bin']}
return select_files('Select weight file for engine', dir, filter)[0]
}
function select_files(title, dir, filter) {
Expand Down

0 comments on commit 34247f0

Please sign in to comment.