stt-model / README.md
Yash030's picture
Initial deploy: faster-whisper FastAPI server
0e2e8ef
|
Raw
History Blame Contribute Delete
539 Bytes
---
title: STT Model
emoji: 🎀
colorFrom: indigo
colorTo: blue
sdk: docker
app_port: 7860
pinned: false
license: mit
---
# RealtimeSTT
FastAPI server running faster-whisper for speech-to-text.
**Endpoints:**
- `POST /transcribe` β€” upload audio β†’ `{"text": "..."}`
- `GET /` β€” browser web UI with mic recording
- `GET /health` β€” health check
**Env vars:**
- `STT_MODEL` β€” model size (tiny/base/small/medium/large, default: tiny)
- `STT_DEVICE` β€” cpu or cuda (default: cpu)
- `STT_LANGUAGE` β€” language code (default: en)