Skip to content

Commit

Permalink
Parameterise stage
Browse files Browse the repository at this point in the history
  • Loading branch information
philmcmahon committed Jan 31, 2025
1 parent 7249ed8 commit d412ebe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions roles/whisperx/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
amigo_data_bucket: amigo-data-prod
model_script_stage: PROD
2 changes: 1 addition & 1 deletion roles/whisperx/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

- name: Download models script
shell: |
aws --quiet s3 cp s3://{{ amigo_data_bucket }}/deploy/PROD/whisperx-model-fetch/download_whisperx_models.py /tmp/download_whisperx_models.py
aws --quiet s3 cp s3://{{ amigo_data_bucket }}/deploy/{{ model_script_stage }}/whisperx-model-fetch/download_whisperx_models.py /tmp/download_whisperx_models.py
exit 0
- name: Download whisperx models
Expand Down

0 comments on commit d412ebe

Please sign in to comment.