reorder docker, allow different xtts model versions
This commit is contained in:
parent
3fe07873f7
commit
b4756dc1db
5 changed files with 26 additions and 23 deletions
|
|
@ -6,13 +6,15 @@ 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 LICENSE /app/
|
||||
# default clone of the default voice is really bad, use a better default
|
||||
COPY voices/alloy-alt.wav /app/voices/
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt /app/
|
||||
RUN pip install -r requirements.txt
|
||||
COPY *.py *.yaml *.txt *.md *.sh LICENSE /app/
|
||||
|
||||
RUN ./download_voices_tts-1.sh
|
||||
RUN ./download_voices_tts-1-hd.sh
|
||||
|
||||
ENV COQUI_TOS_AGREED=1
|
||||
CMD python main.py --host 0.0.0.0 --port 8000 --preload_xtts
|
||||
CMD python main.py --host 0.0.0.0 --port 8000 --preload xtts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue