summaryrefslogtreecommitdiffstats
path: root/roles/caption/tasks
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--roles/caption/tasks/main.yml25
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