Kar 2025-06-15 22:08:26 +05:30
parent 2fe204101e
commit b2321fc156
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ RUN cd whisper.cpp && \
make
# Verify the binary was built
RUN ls -lh /app/whisper.cpp/main
RUN ls -lh /app/whisper.cpp
# Download the small.en model
RUN mkdir -p /app/whisper.cpp/models && \
@ -42,7 +42,7 @@ COPY app.py .
RUN mkdir -p uploads
# Set environment variables
ENV WHISPER_CPP_PATH="/app/whisper.cpp/main"
ENV WHISPER_CPP_PATH="/app/whisper.cpp"
ENV MODEL_PATH="/app/whisper.cpp/models/ggml-small.en.bin"
EXPOSE 5000