Fix AI Faces test.

The test was broken because of the new parameters
This commit is contained in:
raystlin
2025-05-12 18:48:42 +00:00
parent 38956e0f4a
commit 05808241b9

View File

@@ -54,7 +54,7 @@ func TestNet(t *testing.T) {
var embeddings = make(Embeddings, 11)
faceNet := NewModel(modelPath, "testdata/cache", 160, []string{"serve"}, false)
faceNet := NewModel(modelPath, "testdata/cache", 160, nil, false)
if err := fastwalk.Walk("testdata", func(fileName string, info os.FileMode) error {
if info.IsDir() || filepath.Base(filepath.Dir(fileName)) != "testdata" {