Remove self._voice_id from TTS Service implementations in favor of self._settings.voice
This commit is contained in:
@@ -291,9 +291,8 @@ class NewTTSService(TTSService):
|
||||
voice: Voice identifier to use.
|
||||
**kwargs: Additional arguments passed to the parent service.
|
||||
"""
|
||||
super().__init__(**kwargs)
|
||||
super().__init__(voice=voice, **kwargs)
|
||||
self._api_key = api_key
|
||||
self._voice_id = voice
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user