Fix API after module name change

This commit is contained in:
mbsantiago 2025-09-30 18:24:06 +01:00
parent 8727edf466
commit 49ec1916ce
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ def evaluate_command(
run_name: Optional[str] = None,
verbose: int = 0,
):
from batdetect2.api.base import BatDetect2API
from batdetect2.api_v2 import BatDetect2API
from batdetect2.config import load_full_config
from batdetect2.data import load_dataset_from_config

View File

@ -46,7 +46,7 @@ def train_command(
run_name: Optional[str] = None,
verbose: int = 0,
):
from batdetect2.api.base import BatDetect2API
from batdetect2.api_v2 import BatDetect2API
from batdetect2.config import (
BatDetect2Config,
load_full_config,