Spaces:
Build error
Build error
File size: 1,017 Bytes
b6632e1 1e99b11 8c9e711 1e99b11 8c9e711 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
---
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](https://github.com/openai/whisper), built using [Gradio](https://gradio.app/).
### 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
1. The near-continuous recognition is implemented by incrementally recognizing all historical audio streaming every N seconds. The config is `REC_INTERVAL_IN_SECONDS`
2. 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
3. For update-to-date code, please refer to https://github.com/nomorewzx/near-continuous-whispering |