Go to file
Bifang 2daa939b1f Add FunASR streaming model download config 2026-09-23 11:09:09 +08:00
realtime_websocket Split FunASR frontend and backend services 2026-09-23 10:30:16 +08:00
scripts Add FunASR streaming model download config 2026-09-23 11:09:09 +08:00
tests Add FunASR streaming model download config 2026-09-23 11:09:09 +08:00
.env.example Split FunASR frontend and backend services 2026-09-23 10:30:16 +08:00
.env.funasr.example Split FunASR frontend and backend services 2026-09-23 10:30:16 +08:00
.env.qwen_legacy.example Split FunASR frontend and backend services 2026-09-23 10:30:16 +08:00
.gitignore first commit 2026-09-22 14:35:42 +08:00
FUNASR_README.md Add FunASR streaming model download config 2026-09-23 11:09:09 +08:00
README.md Add FunASR streaming model download config 2026-09-23 11:09:09 +08:00
README_QWEN_LEGACY.md Split FunASR frontend and backend services 2026-09-23 10:30:16 +08:00
model_manifest.json Add FunASR streaming model download config 2026-09-23 11:09:09 +08:00
pyproject.toml Add FunASR streaming model download config 2026-09-23 11:09:09 +08:00
pyproject_qwen_legacy.toml Split FunASR frontend and backend services 2026-09-23 10:30:16 +08:00
requirements-auxiliary.txt Split FunASR frontend and backend services 2026-09-23 10:30:16 +08:00
requirements-funasr.txt Split FunASR frontend and backend services 2026-09-23 10:30:16 +08:00
requirements-qwen-legacy.txt Split FunASR frontend and backend services 2026-09-23 10:30:16 +08:00

README.md

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, then download the three required FunASR models with the shared project manifest:

python scripts/download_models.py --funasr-runtime

Start the backend (CAM++ model service plus WebSocket) in one terminal:

python scripts\run_backend.py

Start the frontend in another terminal:

python scripts\run_frontend.py

Open http://127.0.0.1:8080/. Model directory layout and address settings are described in FUNASR_README.md.