h-a/whisper: Set writable cache dir for HF models
Whisper now needs a writable location for downloading models from Hugging Face Hub. The default location is `~/.cache/huggingface/hub`, but this is not writable in our container. The path can be controlled via one of several environment variables, but we're setting `HF_HOME` as it is sets the top level directory for several related paths.pull/67/head
parent
8e38813d83
commit
404137c4c8
|
@ -42,6 +42,9 @@ spec:
|
||||||
args:
|
args:
|
||||||
- --model=base
|
- --model=base
|
||||||
- --language=en
|
- --language=en
|
||||||
|
env:
|
||||||
|
- name: HF_HOME
|
||||||
|
value: /data/hf.cache
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 10300
|
- containerPort: 10300
|
||||||
name: wyoming
|
name: wyoming
|
||||||
|
|
Loading…
Reference in New Issue