- Create a new Google Cloud project called
pepper-jam
- Enable Service Usage API
- Enable Google Translate API
gcloud auth application-default login
gcloud auth application-default set-quota-project pepper-jam
cd wav2lip
pip install -r requirements.txt
- Unless you're on windows, you may run into an issue saying that torch==2.3.0+cu118 was not found. This is because CUDA-enabled versions for pytorch is not yet supported for mac
- If you run into the error
OSError: ctypes.util.find_library() did not manage to locate a library called 'sndfile'
. Try running the following
pip uninstall pysoundfile
pip uninstall soundfile
pip install soundfile
The apparent reason here is because pyrubberband uses an older version of soundfile. Reference: https://stackoverflow.com/questions/75813603/python-working-with-sound-librosa-and-pyrubberband-conflict