mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-01-12 07:52:40 +00:00
Update tts.py
This commit is contained in:
parent
70f91d5168
commit
6e2e1a22ce
@ -38,6 +38,7 @@ class LollmsTTS:
|
|||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
name:str,
|
||||||
app: LollmsApplication,
|
app: LollmsApplication,
|
||||||
model="",
|
model="",
|
||||||
voice="",
|
voice="",
|
||||||
@ -54,6 +55,7 @@ class LollmsTTS:
|
|||||||
api_key (str, optional): API key for accessing external TTS services. Defaults to an empty string.
|
api_key (str, optional): API key for accessing external TTS services. Defaults to an empty string.
|
||||||
output_path (Path or str, optional): Path where the output audio files will be saved. Defaults to None.
|
output_path (Path or str, optional): Path where the output audio files will be saved. Defaults to None.
|
||||||
"""
|
"""
|
||||||
|
self.name = name
|
||||||
self.ready = False
|
self.ready = False
|
||||||
self.app = app
|
self.app = app
|
||||||
self.model = model
|
self.model = model
|
||||||
|
Loading…
Reference in New Issue
Block a user