Sort imports

This commit is contained in:
Nicolas Mowen 2025-09-13 20:49:21 -06:00
parent ce24a84950
commit 3283af5184
2 changed files with 2 additions and 2 deletions

View File

@ -7,12 +7,12 @@ import warnings
# importing this without pytorch or others causes a warning # importing this without pytorch or others causes a warning
# https://github.com/huggingface/transformers/issues/27214 # https://github.com/huggingface/transformers/issues/27214
# suppressed by setting env TRANSFORMERS_NO_ADVISORY_WARNINGS=1 # suppressed by setting env TRANSFORMERS_NO_ADVISORY_WARNINGS=1
from frigate.detectors.detection_runners import BaseModelRunner, get_optimized_runner
from transformers import AutoFeatureExtractor, AutoTokenizer from transformers import AutoFeatureExtractor, AutoTokenizer
from transformers.utils.logging import disable_progress_bar from transformers.utils.logging import disable_progress_bar
from frigate.comms.inter_process import InterProcessRequestor from frigate.comms.inter_process import InterProcessRequestor
from frigate.const import MODEL_CACHE_DIR, UPDATE_MODEL_STATE from frigate.const import MODEL_CACHE_DIR, UPDATE_MODEL_STATE
from frigate.detectors.detection_runners import BaseModelRunner, get_optimized_runner
from frigate.types import ModelStatusTypesEnum from frigate.types import ModelStatusTypesEnum
from frigate.util.downloader import ModelDownloader from frigate.util.downloader import ModelDownloader

View File

@ -6,12 +6,12 @@ import os
import numpy as np import numpy as np
from PIL import Image from PIL import Image
from frigate.detectors.detection_runners import get_optimized_runner
from transformers import AutoTokenizer from transformers import AutoTokenizer
from transformers.utils.logging import disable_progress_bar, set_verbosity_error from transformers.utils.logging import disable_progress_bar, set_verbosity_error
from frigate.comms.inter_process import InterProcessRequestor from frigate.comms.inter_process import InterProcessRequestor
from frigate.const import MODEL_CACHE_DIR, UPDATE_MODEL_STATE from frigate.const import MODEL_CACHE_DIR, UPDATE_MODEL_STATE
from frigate.detectors.detection_runners import get_optimized_runner
from frigate.types import ModelStatusTypesEnum from frigate.types import ModelStatusTypesEnum
from frigate.util.downloader import ModelDownloader from frigate.util.downloader import ModelDownloader