File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments