Skip to content

Conversation

@TOduah
Copy link

@TOduah TOduah commented May 15, 2025

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