Found an invalid configuration for xpack.ml.model_repository. Illegal character in authority at index 9:

Found an invalid configuration for xpack.ml.model_repository. Illegal character in authority at index 9: file://G:\elasticsearch-8.15.3-windows-x86_64\elasticsearch-8.15.3/config/models/ See ELSER – Elastic Learned Sparse EncodeR | Machine Learning in the Elastic Stack [8.15] | Elastic for more information.

elasticsearch.yml

xpack.ml.enabled: true
xpack.ml.model_repository: file://${path.home}/config/models/

Getting this error when running air gapped NLP models

I am using Windows OS