diff --git a/app/whisper_model.py b/app/whisper_model.py index c166980..76a9f40 100644 --- a/app/whisper_model.py +++ b/app/whisper_model.py @@ -1,5 +1,6 @@ from ahserver.serverenv import ServerEnv from appPublic.worker import awaitify +from appPublic.log import info, debug, warning, error, exception, critical from ahserver.globalEnv import get_definition import numpy as np @@ -26,7 +27,9 @@ class WhisperBase: self.model = whisper.load_model(model_name) def _stt(self, filepath): - pass + e = Exception(f'{filepath=} WhisperBase can not use') + exception(f'{e=}') + raise e stt = awaitify(_stt)