python-reddit-youtube-bot
python-reddit-youtube-bot copied to clipboard
HELP ME !

what value do you have set for your text to speech engine? Above error seems like it's failing to call the file
# Choices ["polly","balcon","gtts","tiktok","edge-tts","streamlabspolly"]
voice_engine = "edge-tts"
can you show me how can i determine it?
have a look in your configs/settings.py file to see what voice_engine is set to, if you haven't changed it I'm guessing it'll be set to edge-tts
https://github.com/alexlaverty/python-reddit-youtube-bot/blob/main/config/settings.py#L50
to verify your edge-tts is working properly from your cmd prompt where you are running this script try see if this command is successful :
edge-tts --voice en-GB-RyanNeural --text "hello world how are you today" --write-media myaudiofile.mp3