mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-01-21 03:55:01 +00:00
Update lollms_openai_tts.py
This commit is contained in:
parent
e54443ec8c
commit
5e7624c489
@ -55,7 +55,7 @@ class LollmsOpenAITTS(LollmsTTS):
|
|||||||
api_key="",
|
api_key="",
|
||||||
output_path=None
|
output_path=None
|
||||||
):
|
):
|
||||||
super().__init__("openai_tts",app, model, voice, api_key, output_path)
|
super().__init__("openai_tts", app, model, voice, api_key, output_path)
|
||||||
self.client = OpenAI(api_key=api_key)
|
self.client = OpenAI(api_key=api_key)
|
||||||
self.voices = [
|
self.voices = [
|
||||||
"alloy",
|
"alloy",
|
||||||
|
Loading…
Reference in New Issue
Block a user