mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 22:55:46 +01:00
Log exception
This commit is contained in:
parent
598c82482a
commit
a800ee58a2
1 changed files with 2 additions and 0 deletions
|
|
@ -424,6 +424,8 @@ class WhisperFileTranscriber(QObject):
|
|||
|
||||
def transcribe_whisper(stderr_conn: Connection, task: FileTranscriptionTask):
|
||||
try:
|
||||
logging.debug('in transcribe_whisper')
|
||||
raise Exception('hello')
|
||||
with pipe_stderr(stderr_conn):
|
||||
if task.transcription_options.model.model_type == ModelType.HUGGING_FACE:
|
||||
model = transformers_whisper.load_model(task.model_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue