Skip to content

echoscript is an audio transcription tool based on the Whisper model, providing a simple and user-friendly command-line interface (CLI) for audio transcription tasks.

License

Notifications You must be signed in to change notification settings

susuky/echoscript

Repository files navigation

echoscript

echoscript is an audio transcription tool based on the Whisper model, providing a simple and user-friendly command-line interface (CLI) for audio transcription tasks.

Features

  • Audio transcription: Convert audio files to text
  • Support for multiple Whisper models
  • Multiple output formats (plain text, JSON, SRT)
  • Multi-language transcription support
  • Command-line interface (CLI) operation
  • Web application interface

Installation

pip install echoscript

Usage

Basic Usage

echoscript -a path/to/audio/file.mp3

Advanced Options

echoscript -a path/to/audio/file.mp3 -m medium -f srt -l en -o output.srt -v
  • -a, --audio: Path to the audio file for transcription
  • -m, --model-name: Name of the Whisper model to use (default is 'base')
  • -f, --fmt: Output format, supports json, srt, vtt, or None (plain text)
  • -l, --language: Language of the audio
  • -o, --filename: Output filename
  • -v, --verbose: Verbose mode, outputs transcription result to console

List Available Models and Languages

echoscript list --models
echoscript list --languages

Serve a Web Application

echoscript serve
echoscript serve --port 7860 --server_name 0.0.0.0 --share2pub
  • --port: Specify the port for the web application (default is 7860)
  • --server_name: Specify the server name (default is '0.0.0.0')
  • --share2pub/--no-share2pub: Whether to share publicly (default is False)

Development Plans

Future features planned:

  • Speaker Diarization
  • Additional audio processing and analysis features

License

MIT License

About

echoscript is an audio transcription tool based on the Whisper model, providing a simple and user-friendly command-line interface (CLI) for audio transcription tasks.

Resources

License

Stars

Watchers

Forks

Packages

No packages published