From 821a23a15915be5974c849071e3c2be490fec51a Mon Sep 17 00:00:00 2001 From: David de la Iglesia Castro Date: Thu, 5 Dec 2024 10:45:57 +0000 Subject: [PATCH] Install CPU torch. Make run.sh executable --- Dockerfile | 1 + demo/run.sh | 0 2 files changed, 1 insertion(+) mode change 100644 => 100755 demo/run.sh diff --git a/Dockerfile b/Dockerfile index 180f8fd..251cab9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,7 @@ COPY . /home/appuser/document-to-podcast WORKDIR /home/appuser/document-to-podcast RUN virtualenv ${VIRTUAL_ENV} +RUN . ${VIRTUAL_ENV}/bin/activate && pip install torch torchaudio --index-url https://download.pytorch.org/whl/cpu RUN . ${VIRTUAL_ENV}/bin/activate && pip install -e /home/appuser/document-to-podcast RUN . ${VIRTUAL_ENV}/bin/activate && python demo/download_models.py diff --git a/demo/run.sh b/demo/run.sh old mode 100644 new mode 100755