Skip to content

Commit

Permalink
Fix: AC download audio arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Labbeti committed Jan 4, 2024
1 parent 124fb72 commit 99ae6e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/python-package-pip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,11 @@ jobs:
run: |
python -m black --check --diff src
- name: Print ffmpeg version
run: |
ffmpeg -version
- name: Print yt-dlp version
run: |
yt-dlp --version
- name: Print install info
run: |
aac-datasets-info
ffmpeg -version
yt-dlp --version
- name: Test with pytest
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/aac_datasets/datasets/functional/audiocaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def download_audiocaps_dataset(
)
download_kwds = {
f"{line['youtube_id']}-{line['start_time']}": {
line[key] for key in ("youtube_id", "start_time")
k: line[k] for k in ("youtube_id", "start_time")
}
for line in captions_data
}
Expand Down

0 comments on commit 99ae6e6

Please sign in to comment.