Use official MeloTTS Docker install flow
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM python:3.9-slim
|
FROM python:3.10-slim
|
||||||
|
|
||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
@@ -10,8 +10,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
libsndfile1 \
|
libsndfile1 \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN pip install --no-cache-dir git+https://github.com/myshell-ai/MeloTTS.git@v0.1.2
|
RUN git clone https://github.com/myshell-ai/MeloTTS.git /opt/MeloTTS
|
||||||
|
RUN pip install --no-cache-dir -e /opt/MeloTTS
|
||||||
RUN python -m unidic download
|
RUN python -m unidic download
|
||||||
|
RUN python /opt/MeloTTS/melo/init_downloads.py
|
||||||
|
|
||||||
COPY melo_tts_cli.py /opt/realtime-voice-bot/melo_tts_cli.py
|
COPY melo_tts_cli.py /opt/realtime-voice-bot/melo_tts_cli.py
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user