From c704929b2f5118db7a6075ab3d9bd9c39adc5c14 Mon Sep 17 00:00:00 2001 From: Jason Cameron Date: Mon, 1 Apr 2024 12:54:51 -0400 Subject: [PATCH] Update streamlabs_polly.py Fixes issues with git --- TTS/streamlabs_polly.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TTS/streamlabs_polly.py b/TTS/streamlabs_polly.py index dddeedc..3f0610d 100644 --- a/TTS/streamlabs_polly.py +++ b/TTS/streamlabs_polly.py @@ -44,8 +44,8 @@ class StreamlabsPolly: ) voice = str(settings.config["settings"]["tts"]["streamlabs_polly_voice"]).capitalize() body = {"voice": voice, "text": text, "service": "polly"} - headers = {"Referer" : "https://streamlabs.com/" } - response = requests.post(self.url, headers=headers,data=body) + 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)