From b27d52ec7eb1de67db98dfc2a4b203ea40cf65e0 Mon Sep 17 00:00:00 2001 From: zhouchengbo <zhouchengbo@wmdigit.com> Date: Thu, 9 Nov 2023 16:47:48 +0800 Subject: [PATCH] debug --- app/video_cut/autocut/wmdigit_transcribe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/video_cut/autocut/wmdigit_transcribe.py b/app/video_cut/autocut/wmdigit_transcribe.py index 35da407..15f7115 100644 --- a/app/video_cut/autocut/wmdigit_transcribe.py +++ b/app/video_cut/autocut/wmdigit_transcribe.py @@ -12,10 +12,10 @@ from .type import WhisperMode, SPEECH_ARRAY_INDEX class Transcribe: - def __init__(self, args, model): + def __init__(self, args): self.args = args self.sampling_rate = 16000 - self.whisper_model = model + self.whisper_model = None self.vad_model = None self.detect_speech = None -- 2.18.1