This is auto subtitle script made using python and wav2vec2.0 pretrained by airesearch (wav2vec2-large-xlsr-53-th)
python3 -m venv venv
. venv/bin/activate
pip install -r requirement.txt
Please activate venv before using this script
python speech_to_text.py <aggresiveness> <path_to_wav_file> <subtitle_file_name>
Please Install Redis before running the server
#start Redis server for queueing task
redis-server
#start worker to run task simultaneously
python worker.py
#start flask server
export FLASK_APP=app.py
flask run