Skip to main content

realtime subtitle

Project description

realtime subtitle

中文

This is an offline realtime subtitle program for M-series mac.

install

require python >=3.9

# install dependencies
# if you don't have brew, install it from https://brew.sh/
brew install portaudio

# install realtime-subtitle via pip
pip install realtime-subtitle

usage

# to run with a ui
realtime-subtitle ui

# to parse a wav file
realtime-subtitle parse -f {your_wav_file_path}

you can find more whisper models here

if you want to reset your config, you can just remove it.

rm ~/.config/glimmer/realtime-subtitle.config

if you want to clean your local model. Note that once delete, you will have to redownload them if you want to use realtime subtitle. But sometimes this may help if you stuck in downloading or loading(this may happen if your mlx version has changed), you can delete them and redownload.

rm -rf /Users/glimmer/.cache/huggingface

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

realtime_subtitle-0.0.10.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

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

realtime_subtitle-0.0.10-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file realtime_subtitle-0.0.10.tar.gz.

File metadata

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

File hashes

Hashes for realtime_subtitle-0.0.10.tar.gz
Algorithm Hash digest
SHA256 67b4786ffec7a75f1236ed35256dc7f443f7603c875b0994e9d7b0a0c8d9e0a2
MD5 32e7987d69caf66fdcdc3608945844e7
BLAKE2b-256 e6d7ee13635f68e5ea30a2553045b8faef69d488e9a0ece951e138459561a947

See more details on using hashes here.

File details

Details for the file realtime_subtitle-0.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for realtime_subtitle-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 3ebe6420c84cca208c55149174fbff28a64690df24eb43e2423e32d8fbcdafd7
MD5 31e96c3f8bf5cd55370bf0f61d86f98b
BLAKE2b-256 fbdcaf2aa3b2785b9e6928f628256fadb43d5379e421fd76e091ca43022d7173

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