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
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,11 +94,13 @@ services:
94
94
- PGID=1000
95
95
- TZ=Etc/UTC
96
96
- PIPER_VOICE=en_US-lessac-medium
97
+
- LOCAL_ONLY= #optional
97
98
- PIPER_LENGTH=1.0 #optional
98
99
- PIPER_NOISE=0.667 #optional
99
100
- PIPER_NOISEW=0.333 #optional
100
101
- PIPER_SPEAKER=0 #optional
101
102
- PIPER_PROCS=1 #optional
103
+
- STREAMING= #optional
102
104
volumes:
103
105
- /path/to/piper/data:/config
104
106
ports:
@@ -115,11 +117,13 @@ docker run -d \
115
117
-e PGID=1000 \
116
118
-e TZ=Etc/UTC \
117
119
-e PIPER_VOICE=en_US-lessac-medium \
120
+
-e LOCAL_ONLY= `#optional` \
118
121
-e PIPER_LENGTH=1.0 `#optional` \
119
122
-e PIPER_NOISE=0.667 `#optional` \
120
123
-e PIPER_NOISEW=0.333 `#optional` \
121
124
-e PIPER_SPEAKER=0 `#optional` \
122
125
-e PIPER_PROCS=1 `#optional` \
126
+
-e STREAMING= `#optional` \
123
127
-p 10200:10200 \
124
128
-v /path/to/piper/data:/config \
125
129
--restart unless-stopped \
@@ -137,11 +141,13 @@ Containers are configured using parameters passed at runtime (such as those abov
137
141
|`-e PGID=1000`| for GroupID - see below for explanation |
138
142
|`-e TZ=Etc/UTC`| specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
139
143
|`-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>`|
144
+
|`-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. |
140
145
|`-e PIPER_LENGTH=1.0`| Voice speaking rate, 1.0 is default with < 1.0 being faster and > 1.0 being slower. |
141
146
|`-e PIPER_NOISE=0.667`| Controls the variability of the voice by adding noise. Values above 1 will start to degrade audio. |
142
147
|`-e PIPER_NOISEW=0.333`| Controls the variability of speaking cadence. Values above 1 produce extreme stutters and pauses. |
143
148
|`-e PIPER_SPEAKER=0`| Speaker number to use if the voice supports multiple speakers. |
144
149
|`-e PIPER_PROCS=1`| Number of Piper processes to run simultaneously. |
150
+
|`-e STREAMING=`| Setting to `true`, or any other value, will enable support for streaming audio on sentence boundaries. |
145
151
|`-v /config`| Local path for piper config files. |
146
152
|`--read-only=true`| Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
147
153
@@ -307,6 +313,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
307
313
308
314
## Versions
309
315
316
+
***29.08.25:** - Add streaming support & support forlocal only mode.
0 commit comments