-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
window环境 如何替换 听 说 呀,库已经安装好了 #4
Comments
请问你在windows环境下如何安装的mlx库呀,是在anaconda中安装的吗。我在pycharm中使用python3.8,除了mlx其余库都可以安装,但是mlx始终无法安装 |
To install from PyPI you must meet the following requirements:
MLX is only available on devices running macOS >= 13.3 It is highly recommended to use macOS 14 (Sonoma) |
@linyiLYi Is there an alternative lib we can use? I don't have a up-to-date MacOS machine. |
mlx是mac专用的机器学习库,windows版得改代码 |
可以考虑用openai的whisper替换掉whisper目录. 几行code改动,还有貌似torch在cuda 12.4上还有问题,只好用nightly的. pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121 还需要ffmpeg,安装可以按照ffmpeg whisper_model = whisper.load_model("large", download_root=f"{MODEL_ROOT}/openai/whisper") user_input = whisper_model.transcribe("recordings/output.wav")["text"] C:\Python\Python39\python.exe I:/AI/code/voice-assistant-main/main.py Error in text-to-speech: [WinError 2] The system cannot find the file specified speech 部分用以下替换(仅仅用于测试,不连贯,也听起来很傻) from gtts import gTTS
|
No description provided.
The text was updated successfully, but these errors were encountered: