Skip to content

Commit

Permalink
refactor: replace log statements with fmt.Printf for legacy model not…
Browse files Browse the repository at this point in the history
…ification
  • Loading branch information
tphakala committed Dec 19, 2024
1 parent 76a4e94 commit 9283280
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/birdnet/birdnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"bytes"
_ "embed" // Embedding data directly into the binary.
"fmt"
"log"
"os"
"runtime"
"strings"
Expand Down Expand Up @@ -131,10 +130,9 @@ func (bn *BirdNET) initializeModel() error {
// getMetaModelData returns the appropriate meta model data based on the settings.
func (bn *BirdNET) getMetaModelData() []byte {
if bn.Settings.BirdNET.RangeFilter.Model == "legacy" {
log.Printf("Using legacy range filter model")
fmt.Printf("⚠️ Using legacy range filter model")
return metaModelDataV1
}
log.Printf("Using latest range filter model")
return metaModelDataV2
}

Expand Down

0 comments on commit 9283280

Please sign in to comment.