mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-31 20:04:38 +08:00
Make sure to import the correct "version" module when installing mlx_whisper and mlx_lm from local source code. (#969)
* Make sure to import the correct "version" module when installing the mlx_whisper package from local source code. * Make sure to import the correct "version" module when installing the mlx_lm package from local source code * fix --------- Co-authored-by: Awni Hannun <awni@apple.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Copyright © 2023-2024 Apple Inc.
|
||||
|
||||
from . import audio, decoding, load_models
|
||||
from ._version import __version__
|
||||
from .transcribe import transcribe
|
||||
from .version import __version__
|
||||
|
@@ -12,7 +12,7 @@ with open(package_dir / "requirements.txt") as fid:
|
||||
|
||||
sys.path.append(str(package_dir))
|
||||
|
||||
from version import __version__
|
||||
from _version import __version__
|
||||
|
||||
setup(
|
||||
name="mlx-whisper",
|
||||
|
Reference in New Issue
Block a user