First we need to set up the API keys. All of these files should be made in the main folder. Create a .env file with: GPT_API_KEY=(your api key) REDDIT_CLIENT=(Your reddit client key) REDDIT_SECRET_KEY=(your reddit secret key)
Next we need to make the google credential jsons. We need token.json and cleint_secret.json. Instructions on how to make this can be found in the google api documentation
Finally, we need to install a lot of different packages. I am not sure which though. This project uses docker, coqui TTS, the google api, the open ai api and other things.
Once the project is set up, please run main.py.
This project was one of my first larger scale projects I completed outside of school. The videos themselves are ok but the weakest part is the text to speech. In the future, it may be better to use a better text to speech model for higher quality videos. Also, processing the input text more would help with the video quality as well.