You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,7 @@ services:
84
84
- PGID=1000
85
85
- TZ=Etc/UTC
86
86
- PIPER_VOICE=en_US-lessac-medium
87
+
- LOCAL_ONLY= #optional
87
88
- PIPER_LENGTH=1.0 #optional
88
89
- PIPER_NOISE=0.667 #optional
89
90
- PIPER_NOISEW=0.333 #optional
@@ -106,6 +107,7 @@ docker run -d \
106
107
-e PGID=1000 \
107
108
-e TZ=Etc/UTC \
108
109
-e PIPER_VOICE=en_US-lessac-medium \
110
+
-e LOCAL_ONLY= `#optional` \
109
111
-e PIPER_LENGTH=1.0 `#optional` \
110
112
-e PIPER_NOISE=0.667 `#optional` \
111
113
-e PIPER_NOISEW=0.333 `#optional` \
@@ -129,6 +131,7 @@ Containers are configured using parameters passed at runtime (such as those abov
129
131
|`-e PGID=1000`| for GroupID - see below for explanation |
130
132
|`-e TZ=Etc/UTC`| specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
131
133
|`-e PIPER_VOICE=en_US-lessac-medium`| The [Piper voice](https://huggingface.co/rhasspy/piper-voices/tree/main) to use, in the format `<language>-<name>-<quality>`|
134
+
|`-e LOCAL_ONLY=`| If set to `true`, or any other value, the container will not attempt to download models from HuggingFace and will only use locally-provided models. |
132
135
|`-e PIPER_LENGTH=1.0`| Voice speaking rate, 1.0 is default with < 1.0 being faster and > 1.0 being slower. |
133
136
|`-e PIPER_NOISE=0.667`| Controls the variability of the voice by adding noise. Values above 1 will start to degrade audio. |
134
137
|`-e PIPER_NOISEW=0.333`| Controls the variability of speaking cadence. Values above 1 produce extreme stutters and pauses. |
@@ -300,6 +303,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
Copy file name to clipboardExpand all lines: readme-vars.yml
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ param_ports:
30
30
# optional container parameters
31
31
opt_param_usage_include_env: true
32
32
opt_param_env_vars:
33
+
- {env_var: "LOCAL_ONLY", env_value: "", desc: "If set to `true`, or any other value, the container will not attempt to download models from HuggingFace and will only use locally-provided models."}
33
34
- {env_var: "PIPER_LENGTH", env_value: "1.0", desc: "Voice speaking rate, 1.0 is default with < 1.0 being faster and > 1.0 being slower."}
34
35
- {env_var: "PIPER_NOISE", env_value: "0.667", desc: "Controls the variability of the voice by adding noise. Values above 1 will start to degrade audio."}
35
36
- {env_var: "PIPER_NOISEW", env_value: "0.333", desc: "Controls the variability of speaking cadence. Values above 1 produce extreme stutters and pauses."}
@@ -86,6 +87,7 @@ init_diagram: |
86
87
"piper:latest" <- Base Images
87
88
# changelog
88
89
changelogs:
90
+
- {date: "29.08.25:", desc: "Add support for local only mode."}
0 commit comments