From 359e9d8c218d547a22e83fe3b23a1654954a23ad Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 12 Jul 2022 11:50:45 -0400 Subject: [PATCH] fixed STREAMLABS_POLLY_VOICE typo see https://github.com/elebumm/RedditVideoMakerBot/pull/880/files/1d3410646d674334b2169e0e59b1a731c00f1faf..3068cead0c0e4479b93ce3041cc698c92cba96d3#r915594390 --- 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 8078af5..75c4f49 100644 --- a/TTS/streamlabs_polly.py +++ b/TTS/streamlabs_polly.py @@ -38,7 +38,7 @@ class StreamlabsPolly: else: if not settings.config["settings"]["tts"]["streamlabs_polly_voice"]: raise ValueError( - f"Please set the config variable STREAMLABS_VOICE to a valid voice. options are: {voices}" + 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() body = {"voice": voice, "text": text, "service": "polly"}