bugfix
This commit is contained in:
parent
8603274074
commit
066d108e94
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user