Reinsert diarization dependencies

This commit is contained in:
Marty Oehme 2023-08-22 14:27:52 +02:00
parent 48095a1dc9
commit 64123a29e0
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
8 changed files with 105 additions and 399 deletions

View file

@ -31,18 +31,21 @@ COPY ./poetry.lock ./pyproject.toml ./README.md ./
FROM staging as worker
ARG APP_NAME=verbanote
ARG APP_PATH=/verbanote
ARG VERBANOTE_OUTPUT_PATH=/transcriptions
ARG VERBANOTE_OUTPUT_PATH=/out
ARG VERBANOTE_INPUT_PATH=/in
ENV APP_NAME=${APP_NAME}
ENV APP_PATH=${APP_PATH}
ENV VERBANOTE_OUTPUT_PATH=${VERBANOTE_OUTPUT_PATH}
ENV VERBANOTE_INPUT_PATH=${VERBANOTE_INPUT_PATH}
RUN mkdir -p ${VERBANOTE_INPUT_PATH}
RUN mkdir -p ${VERBANOTE_OUTPUT_PATH}
WORKDIR ${APP_PATH}
RUN poetry install
# installing the large models
# RUN poetry run ltt install --pytorch-computation-backend=cu118 torch torchvision torchaudio
RUN poetry run ltt install --pytorch-computation-backend=cu118 torch torchvision torchaudio
COPY ./${APP_NAME} ./${APP_NAME}