From 706a8d4f8df0bbfb3137ba3add424a6c87920fa0 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 7 Jan 2024 21:14:20 -0800 Subject: [PATCH] fix --- Dockerfile | 1 - backend/requirements.txt | 9 ++++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 60b2cb253..8e81b7749 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,6 @@ ENV WEBUI_JWT_SECRET_KEY "SECRET_KEY" WORKDIR /app # copy embedding weight from build - RUN mkdir -p /root/.cache/chroma/onnx_models/all-MiniLM-L6-v2 COPY --from=build /app/onnx.tar.gz /root/.cache/chroma/onnx_models/all-MiniLM-L6-v2 diff --git a/backend/requirements.txt b/backend/requirements.txt index 3d5bb3960..e0c2f25a3 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -16,9 +16,12 @@ aiohttp peewee bcrypt -torch --index-url https://download.pytorch.org/whl/cpu -torchvision --index-url https://download.pytorch.org/whl/cpu -torchaudio --index-url https://download.pytorch.org/whl/cpu +--index-url https://download.pytorch.org/whl/cpu +torch +--index-url https://download.pytorch.org/whl/cpu +torchvision +--index-url https://download.pytorch.org/whl/cpu +torchaudio langchain langchain-community