Update lollms_openai_tts.py

This commit is contained in:
Saifeddine ALOUI 2024-06-03 08:59:04 +02:00 committed by GitHub
parent e54443ec8c
commit 5e7624c489
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,7 +55,7 @@ class LollmsOpenAITTS(LollmsTTS):
api_key="",
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.voices = [
"alloy",