mirror of
https://github.com/matatonic/openedai-speech
synced 2025-06-26 18:16:32 +00:00
0.2.0 rc4
This commit is contained in:
parent
04bf576825
commit
eb1b2f12c7
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user