mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
fix tests
This commit is contained in:
parent
14a3536d77
commit
d49d5b1ff8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user