Shellhack 2023, Insurance based Tiktok Inspired website
pip install -r requirements.txt
Python 3.10.x
- ImageMagick
- FFMPEG
- OpenAI API Key
- Create
config.py
, and enterapi_key = "SECRET KEY HERE"
- Run main.py
- Go to link http://127.0.0.1:5000
- Goto
video.ipynb
- Follow the template, and adjust
minimum_silence_duration
, attempt to match length oftiming
andtextarray
textArray = getTextArray('text/what-is-insurance.txt') timing = generateTiming('audio/what-is-insurance.mp3' ,0.18) generateSubtitles(textArray, timing) makeVideo('videos/minecraftCropped.mp4', 'audio/TTS.wav', 'finalVid/what-is-insurance.webm')
- Recommended for TTS: https://ttstool.com/