Spaces:
Build error
Build error
A newer version of the Gradio SDK is available:
5.16.0
metadata
title: Near Continuous Whispering
emoji: ⚡
colorFrom: yellow
colorTo: red
sdk: gradio
sdk_version: 3.4.1
app_file: app.py
pinned: false
license: apache-2.0
The near-continuous speech recognition demo using OpenAI whisper, built using Gradio.
How to run?
Install openai/whisper
pip install git+https://github.com/openai/whisper.git
Install requirements
pip install -r requirements.txt
Start the Gradio app
python whisper_demo.py
Simple Notes
The near-continuous recognition is implemented by incrementally recognizing all historical audio streaming every N seconds. The config is
REC_INTERVAL_IN_SECONDS
The near-continuous recognition is in fact quite broken(slow) and only used for demo purpose. You should try a web socket way for real time recognition by referring to https://github.com/shirayu/whispering
For update-to-date code, please refer to https://github.com/nomorewzx/near-continuous-whispering