diff --git a/README.md b/README.md index 9748969c..e6e96731 100644 --- a/README.md +++ b/README.md @@ -184,11 +184,11 @@ speed-up - more than x3 faster compared with CPU-only execution. Here are the in ``` - To ensure `coremltools` operates correctly, please confirm that [Xcode](https://developer.apple.com/xcode/) is installed and execute `xcode-select --install` to install the command-line tools. - - Python 3.10 is recommended. + - Python 3.11 is recommended. - MacOS Sonoma (version 14) or newer is recommended, as older versions of MacOS might experience issues with transcription hallucination. - [OPTIONAL] It is recommended to utilize a Python version management system, such as [Miniconda](https://docs.conda.io/en/latest/miniconda.html) for this step: - - To create an environment, use: `conda create -n py310-whisper python=3.10 -y` - - To activate the environment, use: `conda activate py310-whisper` + - To create an environment, use: `conda create -n py311-whisper python=3.11 -y` + - To activate the environment, use: `conda activate py311-whisper` - Generate a Core ML model. For example, to generate a `base.en` model, use: diff --git a/models/generate-coreml-model.sh b/models/generate-coreml-model.sh index 8f96fdec..1cb20f06 100755 --- a/models/generate-coreml-model.sh +++ b/models/generate-coreml-model.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -e + # Usage: ./generate-coreml-model.sh if [ $# -eq 0 ]; then echo "No model name supplied"