python-reddit-youtube-bot icon indicating copy to clipboard operation
python-reddit-youtube-bot copied to clipboard

HELP ME !

Open axen1 opened this issue 2 years ago • 3 comments

image

axen1 avatar Apr 21 '23 21:04 axen1

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"

alexlaverty avatar Apr 29 '23 08:04 alexlaverty

can you show me how can i determine it?

axen1 avatar Apr 29 '23 08:04 axen1

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

alexlaverty avatar Apr 29 '23 08:04 alexlaverty