programindz's picture
Update README.md
3517f34 verified
metadata
title: Kashmiri Streaming Asr Zipformer
emoji: πŸ’»
colorFrom: purple
colorTo: gray
sdk: docker
pinned: false
short_description: 'Kashmiri streaming ASR with Zipformer '

πŸŽ™οΈ Real-Time Kashmiri Streaming ASR (FastAPI + Sherpa-ONNX)

This project demonstrates a real-time speech-to-text (ASR) web application with:

  • πŸŽ›οΈ Hugging Face Deployment taken from Luigi
  • 🧠 Sherpa-ONNX streaming Zipformer model
  • πŸš€ FastAPI backend with WebSocket support
  • ☁️ Docker-compatible deployment (CPU-only) on Hugging Face Spaces

πŸ€– Training

πŸ§ͺ Local Development

  1. Install dependencies
pip install -r requirements.txt
  1. Run the app locally
uvicorn app.main:app --reload --host 0.0.0.0 --port 8501

Open http://localhost:8501 in your browser.

https://k2-fsa.github.io/sherpa/ncnn/endpoint.html

πŸ“ Project Structure

.
β”œβ”€β”€ app
β”‚   β”œβ”€β”€ main.py
β”‚   β”œβ”€β”€ asr.py
β”‚   └── model parts
        └── All Model parts here (encoder, decoder, joiner, tokens)
    β”œβ”€β”€ index.html
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ Dockerfile
└── README.md

πŸ”§ Credits

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference