Added dynamic platform loader
This commit is contained in:
@@ -15,7 +15,7 @@ if not config.DISABLE_AI:
|
||||
from pyAudioAnalysis import MidTermFeatures
|
||||
import numpy
|
||||
|
||||
from birbnetes_iot_platform_raspberry import BirbnetesIoTPlatformStatusDriver
|
||||
from utils import BirbnetesIoTPlatformStatusDriver
|
||||
|
||||
"""
|
||||
Abstract base class for Sender
|
||||
@@ -150,7 +150,7 @@ class SoundPreProcessorLegit(AbcPreProcessor):
|
||||
class SoundPreProcessorDummy(AbcPreProcessor):
|
||||
|
||||
def __init__(self):
|
||||
print("AI is disabled! Initializing dummy sound pre-processor...")
|
||||
logging.info("AI is disabled! Initializing dummy sound pre-processor...")
|
||||
|
||||
def preprocesssignal(self, file_path) -> bool:
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user