Skip to main content

CLI for Omi Med STT v1 medical speech-to-text

Project description

omi-med-stt

Command-line interface for Omi Med STT v1.

Install

Until PyPI publication, download the private Hugging Face wheel with huggingface_hub and install it locally:

python - <<'PY'
from huggingface_hub import hf_hub_download
print(hf_hub_download(
    "omi-health/omi-med-stt-v1",
    "packages/omi-med-stt/dist/omi_med_stt-0.1.0-py3-none-any.whl",
))
PY
pip install /path/printed/above/omi_med_stt-0.1.0-py3-none-any.whl

After PyPI publication:

pip install omi-med-stt

For Apple Silicon / MLX:

pip install "omi-med-stt[mlx]"

For CUDA/Linux NeMo:

pip install "omi-med-stt[nemo]"

Usage

Simple path:

omi-med-stt audio.wav

On Apple Silicon this defaults to the MLX repo:

omi-med-stt audio.wav --runtime mlx --model omi-health/omi-med-stt-v1-mlx

On Linux/CUDA this defaults to the NeMo repo:

omi-med-stt audio.wav --runtime nemo --model omi-health/omi-med-stt-v1

JSON output:

omi-med-stt audio.wav --json

Dependency check:

omi-med-stt check

omi-stt remains available as a backwards-compatible command alias.

Long Audio

Omi Med STT v1 is based on Parakeet and can handle long-form audio. You do not need to chunk normal long consultations just to use the model.

An explicit chunked path is still available for constrained environments:

omi-med-stt transcribe-long consult.wav --chunk-seconds 25 --overlap 3

Use the simple omi-med-stt audio.wav path first.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omi_med_stt-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omi_med_stt-0.1.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file omi_med_stt-0.1.0.tar.gz.

File metadata

  • Download URL: omi_med_stt-0.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for omi_med_stt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0489c3159c5a77e49c924ee55192f1d978d2198033341a6f90f83d1c77acf831
MD5 42bc9a4c17002c6f70dff8393ada6dd6
BLAKE2b-256 dd3344d1c38ed5e738ddb4776652dbc06b6b7b402f2797d67ed19eb361428149

See more details on using hashes here.

File details

Details for the file omi_med_stt-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: omi_med_stt-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for omi_med_stt-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee6f129811dc7fb3d2fccb2394f5cc7761ad73da33eaec54bc6f107f6c616217
MD5 2d735f24db06a4229005401e161bc2dc
BLAKE2b-256 ee175e1ebac31a607d799996ef198c1e0207ac0633fa19c45c363ebae5260ba3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page