From eb1b2f12c7f9e0e592753edf275211c714aa240d Mon Sep 17 00:00:00 2001 From: matatonic Date: Mon, 27 Nov 2023 20:02:28 -0500 Subject: [PATCH] 0.2.0 rc4 --- Dockerfile | 4 ++-- Dockerfile.min | 2 +- README.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4368d62..697ac72 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Dockerfile.min b/Dockerfile.min index 9a7e088..5d86d8e 100644 --- a/Dockerfile.min +++ b/Dockerfile.min @@ -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 diff --git a/README.md b/README.md index d5cd58c..2d66b95 100644 --- a/README.md +++ b/README.md @@ -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.