Skip to content

Commit

Permalink
Init convert list
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored May 13, 2024
1 parent d1c8d07 commit 90ad90f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@


userDir = os.path.expanduser('~')
INTERPRETER, M_INTERPRETER, INCLUDE_LIST, EXCLUDE_LIST = (None, None, None, None)
INTERPRETER, M_INTERPRETER, INCLUDE_LIST, EXCLUDE_LIST, CONVERT_LIST = (None, None, None, None, None)
PREDICTED_SPECIES_LIST = []
model, priv_thresh, sf_thresh = (None, None, None)

Expand Down Expand Up @@ -307,7 +307,7 @@ def load_global_model():


def run_analysis(file):
global INCLUDE_LIST, EXCLUDE_LIST
global INCLUDE_LIST, EXCLUDE_LIST, CONVERT_LIST
INCLUDE_LIST = loadCustomSpeciesList(os.path.expanduser("~/BirdNET-Pi/include_species_list.txt"))
EXCLUDE_LIST = loadCustomSpeciesList(os.path.expanduser("~/BirdNET-Pi/exclude_species_list.txt"))
CONVERT_LIST = loadCustomSpeciesList(os.path.expanduser("~/BirdNET-Pi/convert_species_list.txt"))
Expand Down

0 comments on commit 90ad90f

Please sign in to comment.