Diba-STT
Persian speech-to-text by Dibachain — offline, on CPU, real-time.
Part of the Diba model family. Transcribes Persian audio without a cloud or GPU.
Install
pip install diba-stt
Use
from diba_stt import DibaSTT
stt = DibaSTT("fa-small") # "fa" for the large, more accurate model
print(stt.transcribe("audio.wav")) # 16 kHz mono WAV
Real-time from an audio stream:
stt = DibaSTT("fa-small")
for chunk in pcm_chunks: # 16-bit PCM bytes
print(stt.accept(chunk))
print(stt.final())
Models: fa-small (~53 MB, default), fa (~1.6 GB, most accurate), fa-small-0.5, fa-0.5.
Models are downloaded automatically from Dibachain/Diba-STT on first use.
Live browser demo: https://huggingface.co/spaces/DibaAi/diba-stt
Apache-2.0. See NOTICE for attribution.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file diba_stt-0.1.0.tar.gz.
File metadata
- Download URL: diba_stt-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6ff0c1bed55b9c20eb468384d286f73ff0bc9e59cc5da21b59b5328d05e874f
|
|
| MD5 |
dbc12616b8ed06698f8534c7fac60c9d
|
|
| BLAKE2b-256 |
5aba9980d2a675612d9c2cf14d16094a4513537dd50322aa9c21010a9805e50a
|
File details
Details for the file diba_stt-0.1.0-py3-none-any.whl.
File metadata
- Download URL: diba_stt-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b5f0e2167b0183b1b9f599cb34713b896c0dfeac8b6c6d834e66b7c01ad2914
|
|
| MD5 |
7d79cf13a84f6c325644c07a42eab950
|
|
| BLAKE2b-256 |
a0587e4d2aaa1ea5aa80d32af710897b51085ed821342c6ef94ae3e9dda1ff06
|