Expose function available_models (#475)

* Expose function available_models

* Add test case
This commit is contained in:
Guillaume Klein
2023-09-14 17:17:01 +02:00
committed by GitHub
parent a49097e655
commit 0048844f54
3 changed files with 15 additions and 3 deletions

View File

@@ -1,9 +1,10 @@
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.utils import available_models, download_model, format_timestamp
from faster_whisper.version import __version__
__all__ = [
"available_models",
"decode_audio",
"WhisperModel",
"download_model",