Merge branch 'develop' into dev

pull/2041/head
Cyteon 1 year ago committed by GitHub
commit 15b00dbc41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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)

@ -8,7 +8,7 @@ prawcore~=2.3.0
requests==2.31.0
rich==13.4.1
toml==0.10.2
translators==5.7.6
translators==5.9.1
pyttsx3==2.90
Pillow==9.5.0
tomlkit==0.11.8
@ -16,8 +16,8 @@ Flask==2.3.3
clean-text==0.6.0
unidecode==1.3.8
spacy==3.5.3
torch==2.2.0
transformers==4.37.2
torch==2.2.2
transformers==4.39.3
ffmpeg-python==0.2.0
elevenlabs==0.2.17
yt-dlp==2023.7.6
Loading…
Cancel
Save