Update stt.py

This commit is contained in:
Saifeddine ALOUI 2024-06-03 08:56:36 +02:00 committed by GitHub
parent b323b3b64b
commit 70f91d5168
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,6 +39,7 @@ class LollmsSTT:
def __init__(
self,
name:str,
app: LollmsApplication,
model="",
output_path=None,
@ -52,6 +53,7 @@ class LollmsSTT:
model (str, optional): The STT model to be used for transcription. Defaults to an empty string.
output_path (Path or str, optional): Path where the output transcription files will be saved. Defaults to None.
"""
self.name = name
self.ready = False
self.app = app
self.output_path = output_path