This commit is contained in:
chenxwh
2024-04-21 22:30:56 +00:00
parent 2a2ee984b6
commit 87f4fa5d21
3 changed files with 23 additions and 68 deletions

View File

@@ -17,8 +17,7 @@ build:
- whisperx==3.1.1
- openai-whisper>=20231117
run:
# - git clone https://github.com/facebookresearch/audiocraft && pip install -e ./audiocraft
- pip install -e git+https://github.com/facebookresearch/audiocraft.git@c5157b5bf14bf83449c17ea1eeb66c19fb4bc7f0#egg=audiocraft # use "git clone https://github.com/facebookresearch/audiocraft && pip install -e ./audiocraft" instead if hits audiocraft import error
- git clone https://github.com/facebookresearch/audiocraft && pip install -e ./audiocraft
- pip install "pydantic<2.0.0"
- curl -o /usr/local/bin/pget -L "https://github.com/replicate/pget/releases/download/v0.6.0/pget_linux_x86_64" && chmod +x /usr/local/bin/pget
- mkdir -p /root/.cache/torch/hub/checkpoints/ && wget --output-document "/root/.cache/torch/hub/checkpoints/wav2vec2_fairseq_base_ls960_asr_ls960.pth" "https://download.pytorch.org/torchaudio/models/wav2vec2_fairseq_base_ls960_asr_ls960.pth"