File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,21 @@ RUN apt-get update && apt-get install -y \
1010 ffmpeg \
1111 libsndfile1 \
1212 git \
13+ espeak-ng \
1314 && rm -rf /var/lib/apt/lists/*
1415
1516# Install Python dependencies
1617COPY requirements.txt .
1718RUN pip3 install --no-cache-dir -r requirements.txt
1819
19- # Clone the zonos repository and install it
20- RUN git clone https://github.com/Zyphra/Zonos.git /app/zonos && \
21- pip3 install /app/zonos
20+ # Clone the zonos repository and update submodules
21+ RUN git clone https://github.com/Zyphra/Zonos.git /app/zonos \
22+ && cd /app/zonos \
23+ && git submodule update --init --recursive \
24+ && cd ..
25+
26+ # Install Zonos in editable mode
27+ RUN pip3 install -e /app/zonos
2228
2329# Install specific wheel files with GPU support
2430RUN FLASH_ATTENTION_SKIP_CUDA_BUILD=TRUE pip3 install flash-attn --no-build-isolation \
@@ -30,7 +36,7 @@ COPY app/ app/
3036COPY pyproject.toml .
3137
3238# Environment variables
33- ENV PYTHONPATH=/app
39+ ENV PYTHONPATH=/app:/app/zonos
3440ENV USE_GPU=true
3541
3642# Run the application
You can’t perform that action at this time.
0 commit comments