tahkik-basic-warsh / README.md
benhadjermed's picture
feat: migrate to streaming transcriptions via WebSockets
3f4cf11 verified
metadata
title: Tahkik Basic Warsh
emoji: ๐Ÿ“–
colorFrom: green
colorTo: blue
sdk: docker
app_port: 7860

Tahkik Inference API

FastAPI inference server for the benhadjermed/tahkik-basic-warsh Whisper model. Accepts Arabic Quranic audio and returns a transcription with a confidence score.

Endpoints

Method Path Description
GET /health Liveness check
POST /evaluate Transcribe an audio file

POST /evaluate

Request โ€” multipart/form-data

Field Type Required Notes
audio file yes .wav, .mp3, .m4a, .flac, or .ogg

Response โ€” application/json

{
  "transcription": "ุงู„ุญู…ุฏ ู„ู„ู‡ ุฑุจ ุงู„ุนุงู„ู…ูŠู†",
  "confidence_score": 0.9423,
  "processing_time_ms": 1350
}

Error โ€” non-200 status

{
  "detail": "unsupported audio format: .xyz"
}

Environment / Secrets

Name Where to set Purpose
HF_TOKEN Space secret Required if tahkik-basic-warsh is private