whisper nits (#1388)

This commit is contained in:
Awni Hannun
2025-09-03 13:18:50 -07:00
committed by GitHub
parent c1af8c46bd
commit 8e4391ca21
2 changed files with 1 additions and 7 deletions

View File

@@ -62,7 +62,7 @@ class ModelHolder:
def transcribe(
audio: Union[str, np.ndarray, mx.array],
*,
path_or_hf_repo: str = "mlx-community/whisper-tiny",
path_or_hf_repo: str = "mlx-community/whisper-turbo",
verbose: Optional[bool] = None,
temperature: Union[float, Tuple[float, ...]] = (0.0, 0.2, 0.4, 0.6, 0.8, 1.0),
compression_ratio_threshold: Optional[float] = 2.4,