Skip to content

Commit 2484896

Browse files
committed
Fix cuda.yml
1 parent 27078dd commit 2484896

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/cuda.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -336,11 +336,11 @@ jobs:
336336
if [ "${{ matrix.model.audio_url }}" != "" ]; then
337337
curl -L ${{ matrix.model.audio_url }} -o ${{ matrix.model.audio_file }}
338338
elif [ "${{ matrix.model.audio_file }}" = "output.wav" ]; then
339-
python <<EOF
340-
from datasets import load_dataset
341-
import soundfile as sf
342-
sample = load_dataset("distil-whisper/librispeech_long", "clean", split="validation")[0]["audio"]
343-
sf.write('output.wav', sample["array"][:sample["sampling_rate"]*30], sample["sampling_rate"])
339+
python <<-EOF
340+
from datasets import load_dataset
341+
import soundfile as sf
342+
sample = load_dataset("distil-whisper/librispeech_long", "clean", split="validation")[0]["audio"]
343+
sf.write('output.wav', sample["array"][:sample["sampling_rate"]*30], sample["sampling_rate"])
344344
EOF
345345
fi
346346

0 commit comments

Comments
 (0)