diff --git a/docs/yaml.md b/docs/yaml.md index 902902165..4a4f7429d 100644 --- a/docs/yaml.md +++ b/docs/yaml.md @@ -65,9 +65,21 @@ build: system_packages: - "git" python_packages: - - "git+https://github.com/m-bain/whisperX.git" + - "git+https://github.com/huggingface/transformers" ``` +You can also pin Python package installations to a specific git commit: + +```yaml +build: + system_packages: + - "git" + python_packages: + - "git+https://github.com/huggingface/transformers@2d1602a" +``` + +Note that you can use a shortened prefix of the 40-character git commit SHA, but you must use at least six characters, like `2d1602a` above. + ### `python_requirements` A pip requirements file specifying the Python packages to install. For example: