Spaces:
Running
on
Zero
Running
on
Zero
zexu.pan
commited on
Commit
·
1e2a9e3
1
Parent(s):
767be18
- examples/noisy_speech.wav +0 -0
- 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(
|
| 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 |
)
|