26 lines
667 B
Markdown
26 lines
667 B
Markdown
# FunASR realtime ASR demo
|
|
|
|
This branch runs streaming ASR, VAD, and CAM++ from local model assets.
|
|
The browser UI starts as a separate service.
|
|
|
|
## Start
|
|
|
|
Install a torch/torchaudio build for the host, then install
|
|
requirements-funasr.txt and requirements-auxiliary.txt. Copy
|
|
.env.funasr.example to .env if no .env exists, and check MODEL_DIR.
|
|
|
|
Start the backend (CAM++ model service plus WebSocket) in one terminal:
|
|
|
|
~~~powershell
|
|
python scripts\run_backend.py
|
|
~~~
|
|
|
|
Start the frontend in another terminal:
|
|
|
|
~~~powershell
|
|
python scripts\run_frontend.py
|
|
~~~
|
|
|
|
Open http://127.0.0.1:8080/. Model directory layout and address settings
|
|
are described in FUNASR_README.md.
|