How to Upload and Save an Audio file (.wav format) in Dash App using Python?

I have to upload an audio file (.wav format) in the Dash UI and save that Audio file locally.

HI @kk00826306 welcome to the community.

For the upload you can use dcc.Upload(), you will need to take care of the encoding though. Here a related topis:

As far as storing the uploaded file it depends on the size of it. If it’s small, and JSON serializable you can use a dcc.Store(). Else you could use dash-extensions ServersideOutput

1 Like

Thanks for the reply

Thankyou Brother