From 2e84e69287b342f0607ab3162ebd032449cbdb6c Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Mon, 3 Jun 2024 08:57:35 +0200 Subject: [PATCH] Update lollms_openai_whisper.py --- lollms/services/openai_whisper/lollms_openai_whisper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lollms/services/openai_whisper/lollms_openai_whisper.py b/lollms/services/openai_whisper/lollms_openai_whisper.py index 659e3ad..25a8171 100644 --- a/lollms/services/openai_whisper/lollms_openai_whisper.py +++ b/lollms/services/openai_whisper/lollms_openai_whisper.py @@ -43,7 +43,7 @@ class LollmsOpenAIWhisper(LollmsSTT): api_key="", output_path=None ): - super().__init__(app, model, output_path) + super().__init__("openai_whisper",app, model, output_path) self.client = OpenAI(api_key=api_key) self.ready = True @@ -63,4 +63,4 @@ class LollmsOpenAIWhisper(LollmsSTT): file=audio_file, response_format="text" ) - return transcription \ No newline at end of file + return transcription