mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-10-23 22:18:06 +08:00
Whisper: Support command line (#746)
* Whisper: Add CLI command * Whisper: Prevent precision loss when converting to words dictionary * Whisper: disable json ensure_ascii * Whisper: add cli setup config * Whisper: pre-commit * Whisper: Adjust the _ in the command line arguments to - * nits * version + readme * nit --------- Co-authored-by: Awni Hannun <awni@apple.com>
This commit is contained in:
@@ -29,4 +29,9 @@ setup(
|
||||
packages=find_namespace_packages(),
|
||||
include_package_data=True,
|
||||
python_requires=">=3.8",
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"mlx_whisper = mlx_whisper.cli:main",
|
||||
]
|
||||
},
|
||||
)
|
||||
|
Reference in New Issue
Block a user