From 4a05334b15bdb5fcd81dc51199fb0277ea311348 Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Sat, 6 May 2023 22:19:08 +0200 Subject: [PATCH] update hf --- huggingface-config/Dockerfile | 4 ++-- huggingface-config/startServices.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/huggingface-config/Dockerfile b/huggingface-config/Dockerfile index 118e991..b5d431c 100644 --- a/huggingface-config/Dockerfile +++ b/huggingface-config/Dockerfile @@ -18,7 +18,7 @@ RUN chmod 0777 /code/.pm2 RUN chmod 0777 /.pm2 -RUN DEBIAN_FRONTEND=noninteractive apt install wget python3 python3-pip -y +RUN DEBIAN_FRONTEND=noninteractive apt install wget python3 python3-pip -y WORKDIR /code @@ -33,6 +33,6 @@ ENV PORT 7860 ENV MODEL=/code/ggml-vic7b-q4_0.bin ENV CACHE=1 ENV PM2_HOME=/code/.pm2 -RUN wget https://huggingface.co/eachadea/ggml-vicuna-7b-1.1/resolve/main/ggml-vic7b-q4_0.bin +RUN wget -q https://huggingface.co/eachadea/ggml-vicuna-7b-1.1/resolve/main/ggml-vic7b-q4_0.bin CMD /bin/bash /code/start.sh diff --git a/huggingface-config/startServices.json b/huggingface-config/startServices.json index e4475fd..4570ce3 100644 --- a/huggingface-config/startServices.json +++ b/huggingface-config/startServices.json @@ -1,14 +1,14 @@ { "apps": [ { - "name": "AI-API", + "name": "Discord-Bot", "script": "node /code/llamabot.js", "args" : "" }, { - "name": "DiscordBot", + "name": "AI-API", "script": "python3 -m llama_cpp.server", "args" : "" } ] -} \ No newline at end of file +}