mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-18 20:27:58 +00:00
Enhanced tts
This commit is contained in:
parent
208f57b1d7
commit
ccf237faba
@ -68,7 +68,7 @@ class LollmsElevenLabsTTS(LollmsTTS):
|
||||
self.streaming = streaming
|
||||
self.ready = True
|
||||
|
||||
def tts_file(self, text, speaker=None, file_name_or_path: Path | str = None, language="en", use_threading=False):
|
||||
def tts_file(self, text, file_name_or_path: Path | str = None, speaker=None, language="en", use_threading=False):
|
||||
speech_file_path = file_name_or_path
|
||||
payload = {
|
||||
"text": text,
|
||||
|
Loading…
Reference in New Issue
Block a user