asr_farhang/README.md
2025-11-17 15:50:34 +03:30

27 lines
733 B
Markdown

## ASR SERVICE
### A FASTAPI client for receieving audio data from font and sending audio to a Triton ASR service using SSE or WebSocket streaming. It yields real-time transcription results as JSON-like events.
## How to run
### SET ENVIRONMENT
1-create a file .env and set TRITON_URL
### 1-DEVELOPMENT
#### Run the system : Uvicorn and Fastapi
.venv/bin/uvicorn src.main:app --host 0.0.0.0 --port 7200
### 2-DEPLOYMENT
#### Docker Build
docker build -t asr_farhang:latest .
#### Docker Run (port = 7200)
docker run -d --network host --restart unless-stopped asr_farhang:latest
there was a problem in installing ast_client package :
pip couldnot find a versaion for perf-analyzer==2.59.1 : so i removed it