zexu.pan commited on
Commit
1e2a9e3
·
1 Parent(s): 767be18
Files changed (2) hide show
  1. examples/noisy_speech.wav +0 -0
  2. networks.py +1 -1
examples/noisy_speech.wav ADDED
Binary file (76.8 kB). View file
 
networks.py CHANGED
@@ -105,7 +105,7 @@ class SpeechModel:
105
  # Use ffmpeg to extract audio and output raw PCM data
106
  process = (
107
  ffmpeg
108
- .input(video_path)
109
  .output('pipe:', format='wav', ar=sampling_rate, ac=1)
110
  .run(capture_stdout=True, capture_stderr=True)
111
  )
 
105
  # Use ffmpeg to extract audio and output raw PCM data
106
  process = (
107
  ffmpeg
108
+ .input(path)
109
  .output('pipe:', format='wav', ar=sampling_rate, ac=1)
110
  .run(capture_stdout=True, capture_stderr=True)
111
  )