diff options
-rw-r--r-- | roles/caption/tasks/main.yml | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/roles/caption/tasks/main.yml b/roles/caption/tasks/main.yml index d3ee4c0..96b3198 100644 --- a/roles/caption/tasks/main.yml +++ b/roles/caption/tasks/main.yml @@ -6,17 +6,20 @@ - cmake - jq - inotify-tools + - pipx - name: Install whisper - ansible.builtin.pip: + community.general.pipx: name: git+https://github.com/openai/whisper.git - name: Install Python packages - ansible.builtin.pip: - name: - - lhotse - - webvtt-py - - tqdm - - torchaudio - - num2words + community.general.pipx: + name: "{{ item }}" + install_deps: true + loop: + - lhotse + - webvtt-py + - tqdm + - torchaudio + - num2words - name: Set up aeneas include_tasks: aeneas.yml - name: Create group |