From fb6961b491e52cc07e1b4f9f5a67196226926004 Mon Sep 17 00:00:00 2001 From: 3x3cut0r Date: Sun, 18 Aug 2024 23:04:45 +0200 Subject: [PATCH] deleted copy --- whisper-gui/Dockerfile copy | 39 ------------------------------------- whisper-gui/whisper-gui | 1 + 2 files changed, 1 insertion(+), 39 deletions(-) delete mode 100644 whisper-gui/Dockerfile copy create mode 160000 whisper-gui/whisper-gui diff --git a/whisper-gui/Dockerfile copy b/whisper-gui/Dockerfile copy deleted file mode 100644 index e424892..0000000 --- a/whisper-gui/Dockerfile copy +++ /dev/null @@ -1,39 +0,0 @@ -# Base-Stage -FROM python:3.10-slim AS base -LABEL maintainer="Julian Reith " -LABEL description="Docker container for privateGPT - a production-ready AI project that allows you to ask questions about your documents using the power of Large Language Models (LLMs)." - -EXPOSE 7860 -WORKDIR / - -# install prerequisites -RUN apt update && apt install -y \ - curl \ - ffmpeg \ - gcc \ - git \ - wget && \ - python -m pip install --upgrade pip gradio gradio-client faster-whisper ctranslate2 && \ - apt clean && \ - rm -rf /var/lib/apt/lists/* - -# install torch and torchaudio -RUN python -m pip install torch==2.0.0 torchvision==0.15.1 torchaudio==2.0.1 - -# install whisper -RUN python -m pip install git+https://github.com/openai/whisper.git - -# install whisperx -RUN python -m pip install git+https://github.com/m-bain/whisperx.git - -# install whisper-gui -RUN git clone https://github.com/Pikurrot/whisper-gui && \ - chmod -R 755 whisper-gui -COPY configs/config.json /whisper-gui/configs/config.json -WORKDIR /whisper-gui -RUN mkdir -p outputs - -# Setup entrypoint -COPY docker-entrypoint.sh / -RUN chmod +x /docker-entrypoint.sh -ENTRYPOINT ["/docker-entrypoint.sh"] \ No newline at end of file diff --git a/whisper-gui/whisper-gui b/whisper-gui/whisper-gui new file mode 160000 index 0000000..2a9951f --- /dev/null +++ b/whisper-gui/whisper-gui @@ -0,0 +1 @@ +Subproject commit 2a9951f84f27de9959c1305f8c61d316ef9b5d85