Skip to content

feat: add __main__.py for CLI usage with python -m whisper_timestamped#240

Open
TOduah wants to merge 1 commit into
linto-ai:masterfrom
TOduah:feature/add-main-entrypoint
Open

feat: add __main__.py for CLI usage with python -m whisper_timestamped#240
TOduah wants to merge 1 commit into
linto-ai:masterfrom
TOduah:feature/add-main-entrypoint

Conversation

@TOduah

@TOduah TOduah commented May 15, 2025

Copy link
Copy Markdown

Summary

This adds a __main__.py file so the whisper_timestamped package can be run directly from the terminal using:

python -m whisper_timestamped --input your_audio_file.wav

This makes it easier to run the tool without needing to write a separate script or manually call internal functions.

Example

python -m whisper_timestamped --input audio.wav --model base --language en

Notes

This change maintains full backward compatibility and does not interfere with existing imports or usage as a Python module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant