fixup: Format Python code with Black
This commit is contained in:
1 parent
d52c443ff5
commit
a9ea4a077f
1 file changed
+1
-1
@@ -44,7 +44,7 @@ class StreamlabsPolly:
|
||||
)
|
||||
voice = str(settings.config["settings"]["tts"]["streamlabs_polly_voice"]).capitalize()
|
||||
body = {"voice": voice, "text": text, "service": "polly"}
|
||||
headers = {"Referer" : "https://streamlabs.com/" }
|
||||
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)
|
||||
|
||||
Reference in new issue
Block a user