Export __version__ at the module level (#258)

This commit is contained in:
Guillaume Klein
2023-05-24 15:50:37 +02:00
committed by GitHub
parent 4db549b800
commit cf7c021573
3 changed files with 14 additions and 1 deletions

View File

@@ -1,10 +1,12 @@
from faster_whisper.audio import decode_audio
from faster_whisper.transcribe import WhisperModel
from faster_whisper.utils import download_model, format_timestamp
from faster_whisper.version import __version__
__all__ = [
"decode_audio",
"WhisperModel",
"download_model",
"format_timestamp",
"__version__",
]

View File

@@ -0,0 +1,3 @@
"""Version information."""
__version__ = "0.5.1"