stefanrmmr / streamlit-audio-recorder

Record Audio from the User's Microphone in Apps that are Deployed to the Web. (via Browser Media-API, REACT-based, Streamlit Custom Component)
MIT License
415 stars 75 forks source link

'wav_audio_data' is not defined #17

Open lunar-studio opened 8 months ago

lunar-studio commented 8 months ago

Trying to incorporate this into an existing Python script and getting this error:

NameError: name 'wav_audio_data' is not defined
C:\Users\XX\anaconda3\Lib\site-packages\streamlit\watcher\local_sources_watcher.py:177: UserWarning: Torchaudio's I/O functions now support par-call bakcend dispatch. Importing backend implementation directly is no longer guaranteed to work. Please use `backend` keyword with load/save/info function, instead of calling the udnerlying implementation directly.
  lambda m: [p for p in m.__path__._path],