Skip to content

Commit b9b803e

Browse files
committed
Run builder
1 parent 4d9c005 commit b9b803e

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

.editorconfig

100755100644
File mode changed.

LICENSE

100755100644
File mode changed.

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,13 @@ services:
9494
- PGID=1000
9595
- TZ=Etc/UTC
9696
- PIPER_VOICE=en_US-lessac-medium
97+
- LOCAL_ONLY= #optional
9798
- PIPER_LENGTH=1.0 #optional
9899
- PIPER_NOISE=0.667 #optional
99100
- PIPER_NOISEW=0.333 #optional
100101
- PIPER_SPEAKER=0 #optional
101102
- PIPER_PROCS=1 #optional
103+
- STREAMING= #optional
102104
volumes:
103105
- /path/to/piper/data:/config
104106
ports:
@@ -115,11 +117,13 @@ docker run -d \
115117
-e PGID=1000 \
116118
-e TZ=Etc/UTC \
117119
-e PIPER_VOICE=en_US-lessac-medium \
120+
-e LOCAL_ONLY= `#optional` \
118121
-e PIPER_LENGTH=1.0 `#optional` \
119122
-e PIPER_NOISE=0.667 `#optional` \
120123
-e PIPER_NOISEW=0.333 `#optional` \
121124
-e PIPER_SPEAKER=0 `#optional` \
122125
-e PIPER_PROCS=1 `#optional` \
126+
-e STREAMING= `#optional` \
123127
-p 10200:10200 \
124128
-v /path/to/piper/data:/config \
125129
--restart unless-stopped \
@@ -137,11 +141,13 @@ Containers are configured using parameters passed at runtime (such as those abov
137141
| `-e PGID=1000` | for GroupID - see below for explanation |
138142
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
139143
| `-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. |
140145
| `-e PIPER_LENGTH=1.0` | Voice speaking rate, 1.0 is default with < 1.0 being faster and > 1.0 being slower. |
141146
| `-e PIPER_NOISE=0.667` | Controls the variability of the voice by adding noise. Values above 1 will start to degrade audio. |
142147
| `-e PIPER_NOISEW=0.333` | Controls the variability of speaking cadence. Values above 1 produce extreme stutters and pauses. |
143148
| `-e PIPER_SPEAKER=0` | Speaker number to use if the voice supports multiple speakers. |
144149
| `-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. |
145151
| `-v /config` | Local path for piper config files. |
146152
| `--read-only=true` | Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
147153

@@ -307,6 +313,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
307313

308314
## Versions
309315

316+
* **29.08.25:** - Add streaming support & support for local only mode.
310317
* **26.11.24:** - Add GPU branch.
311318
* **18.07.24:** - Rebase to Ubuntu Noble.
312319
* **25.11.23:** - Initial Release.

0 commit comments

Comments
 (0)