alexlaverty / python-reddit-youtube-bot

Automated Reddit Youtube Video Bot
https://www.youtube.com/channel/UCzIwW92D_rM5_yvWBsquSbw
77 stars 17 forks source link

HELP ME ! #59

Open axen1 opened 1 year ago

axen1 commented 1 year ago

image

alexlaverty commented 1 year ago

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"
axen1 commented 1 year ago

can you show me how can i determine it?

alexlaverty commented 1 year ago

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