Changed: Polly authentication information to be optional

This commit is contained in:
Joe Garlick
2025-01-07 11:43:57 +00:00
committed by GitHub
parent ee20e48ef8
commit 79afe7ec2a

View File

@@ -119,9 +119,9 @@ class PollyTTSService(TTSService):
def __init__(
self,
*,
api_key: str,
aws_access_key_id: str,
region: str,
api_key: Optional[str] = None,
aws_access_key_id: Optional[str] = None,
region: Optional[str] = None,
voice_id: str = "Joanna",
sample_rate: int = 24000,
params: InputParams = InputParams(),