diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-10-25 09:07:36 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-10-25 09:07:36 -0400 |
commit | 66b3f5f472ac5fddf0c0e43181f7718af9075d83 (patch) | |
tree | 20b8a35aa403c8b6f453d061f09185351b9addd0 /roles/caption/tasks | |
parent | 8637995c0f20672553c192907a36d3c8519b61d4 (diff) | |
download | emacsconf-ansible-66b3f5f472ac5fddf0c0e43181f7718af9075d83.tar.xz emacsconf-ansible-66b3f5f472ac5fddf0c0e43181f7718af9075d83.zip |
process-captions
Diffstat (limited to 'roles/caption/tasks')
-rw-r--r-- | roles/caption/tasks/main.yml | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/roles/caption/tasks/main.yml b/roles/caption/tasks/main.yml index 7bf45d0..6396339 100644 --- a/roles/caption/tasks/main.yml +++ b/roles/caption/tasks/main.yml @@ -3,12 +3,31 @@ name: - python3-pip - ffmpeg + - cmake + - jq - name: Install whisper ansible.builtin.pip: name: git+https://github.com/openai/whisper.git +- name: Install lhotse + ansible.builtin.pip: + name: + - lhotse + - webvtt-py + - tqdm + - torchaudio + - num2words - name: Copy the shell script - tags: caption-sh + tags: process-captions template: - src: caption.sh - dest: current + src: process-captions.py + dest: /data/emacsconf/{{ emacsconf_year }}/process-captions.py mode: 0755 + owner: sachac + group: org +- name: Copy talks.json + tags: talks-json + template: + src: talks.json + dest: /data/emacsconf/{{ emacsconf_year }}/talks.json + owner: sachac + group: org |