Spaces:
Runtime error
Runtime error
Matthijs Hollemans
commited on
Commit
·
68d7e43
1
Parent(s):
1a582a6
small fix
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def process_audio(sampling_rate, waveform):
|
|
27 |
return waveform
|
28 |
|
29 |
|
30 |
-
def predict(audio, mic_audio):
|
31 |
# audio = tuple (sample_rate, frames) or (sample_rate, (frames, channels))
|
32 |
if mic_audio is not None:
|
33 |
sampling_rate, waveform = mic_audio
|
|
|
27 |
return waveform
|
28 |
|
29 |
|
30 |
+
def predict(audio, mic_audio=None):
|
31 |
# audio = tuple (sample_rate, frames) or (sample_rate, (frames, channels))
|
32 |
if mic_audio is not None:
|
33 |
sampling_rate, waveform = mic_audio
|