0.2.0 rc4

This commit is contained in:
matatonic 2023-11-27 20:02:28 -05:00
parent 04bf576825
commit eb1b2f12c7
3 changed files with 5 additions and 5 deletions

View File

@ -6,8 +6,8 @@ RUN apt-get update && \
#RUN git clone https://github.com/matatonic/openedai-speech /app
RUN mkdir -p /app/voices
COPY *.py *.yaml *.txt *.md *.sh /app/
COPY ./voices/alloy.wav /app/voices/alloy.wav
COPY *.py *.yaml *.txt *.md *.sh LICENSE /app/
COPY voices/download_samples.sh /app/voices/
WORKDIR /app
RUN pip install -r requirements.txt

View File

@ -9,7 +9,7 @@ RUN pip install piper-tts
#RUN git clone https://github.com/matatonic/openedai-speech /app
RUN mkdir -p /app/voices
COPY *.py *.yaml *.txt *.md *.sh /app/
COPY *.py *.yaml *.txt *.md *.sh LICENSE /app/
WORKDIR /app
RUN download_voices_tts-1.sh

View File

@ -15,10 +15,10 @@ API Support:
Compatibility:
* `tts-1`: `alloy`, `echo`, `fable`, `onyx`, `nova`, and `shimmer` (configurable)
* `tts-1-hd`: `alloy`, (incomplete, they're all alloy)
* `tts-1-hd`: `alloy`, `echo`, `fable`, `onyx`, `nova`, and `shimmer` (configurable, uses OpenAI samples by default)
* Custom cloned voices can be used for tts-1-hd, just save a WAV file in `/voices/`
* You can map your own [piper voices](https://rhasspy.github.io/piper-samples/) and xtts_v2 speaker clones via `voice_to_speaker.yaml`
* response_format: mp3, opus, aac, or flac
* response_format: `mp3`, `opus`, `aac`, or `flac`
* Sometimes certain words or symbols will sound bad, you can fix them with regex via `pre_process_map.yaml`
If you find a better voice match for `tts-1` or `tts-1-hd`, please let me know so I can update the defaults.