From d49d5b1ff8c8bbfa5bc59e6ae421bbe5ae2d64e1 Mon Sep 17 00:00:00 2001 From: Ali Abid Date: Tue, 12 Oct 2021 21:01:12 +0000 Subject: [PATCH] fix tests --- gradio/processing_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradio/processing_utils.py b/gradio/processing_utils.py index 7a29d13849..c00d09be58 100644 --- a/gradio/processing_utils.py +++ b/gradio/processing_utils.py @@ -84,7 +84,7 @@ def audio_to_file(sample_rate, data, filename): sample_width=data.dtype.itemsize, channels=(1 if len(data.shape) == 1 else data.shape[1]) ) - audio.export(filename) + audio.export(filename, format="wav") ################## # OUTPUT