From d52c443ff56133ec1fe4fb625b46e4c4ed8199b6 Mon Sep 17 00:00:00 2001 From: Jason Cameron Date: Mon, 1 Apr 2024 12:52:09 -0400 Subject: [PATCH] Update streamlabs_polly.py --- TTS/streamlabs_polly.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TTS/streamlabs_polly.py b/TTS/streamlabs_polly.py index aca1fe3..9ecabf4 100644 --- a/TTS/streamlabs_polly.py +++ b/TTS/streamlabs_polly.py @@ -43,8 +43,8 @@ class StreamlabsPolly: f"Please set the config variable STREAMLABS_POLLY_VOICE to a valid voice. options are: {voices}" ) voice = str(settings.config["settings"]["tts"]["streamlabs_polly_voice"]).capitalize() - headers = {"referer": "https://streamlabs.com"} body = {"voice": voice, "text": text, "service": "polly"} + headers = {"Referer" : "https://streamlabs.com/" } response = requests.post(self.url, headers=headers, data=body) if not check_ratelimit(response): self.run(text, filepath, random_voice)