New component : streamlit-mic-recorder, designed for easy speech to text implementation

@B4PT0R Wow. amazing work. This is great and totally helped me.

But, now I am facing this issue from the installed package after using the package for like 100 times :frowning_face:. When I click record button, I get below error and recording is not working:

2024-08-03 15:17:53.214 ComponentRequestHandler: GET /opt/conda/lib/python3.11/site-packages/streamlit_mic_recorder/frontend/build/bootstrap.min.css.map read error
Traceback (most recent call last):
File “/opt/conda/lib/python3.11/site-packages/streamlit/web/server/component_request_handler.py”, line 56, in get
with open(abspath, “rb”) as file:
^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ‘/opt/conda/lib/python3.11/site-packages/streamlit_mic_recorder/frontend/build/bootstrap.min.css.map’

What went wrong ? It was working absolutely fine for almost 100 times for like 5-6 hrs. Kindly help with fixing this.

Works like charm!! I kept breaking my head last week on how to pass on BytesIO to whisper as file. Thanks a lot for your work!!

@B4PT0R I try to convert record speech to np.array as input of stt model , but it is always happen error. ‘np.frombuffer(audio[‘bytes’])’ always remind me that error.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.