update hf

This commit is contained in:
Raven Scott 2023-05-06 22:19:08 +02:00
parent 9bc44c56f8
commit d18cb39ecd
2 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ RUN chmod 0777 /code/.pm2
RUN chmod 0777 /.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 WORKDIR /code
@ -33,6 +33,6 @@ ENV PORT 7860
ENV MODEL=/code/ggml-vic7b-q4_0.bin ENV MODEL=/code/ggml-vic7b-q4_0.bin
ENV CACHE=1 ENV CACHE=1
ENV PM2_HOME=/code/.pm2 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 CMD /bin/bash /code/start.sh

View File

@ -1,14 +1,14 @@
{ {
"apps": [ "apps": [
{ {
"name": "AI-API", "name": "Discord-Bot",
"script": "node /code/llamabot.js", "script": "node /code/llamabot.js",
"args" : "" "args" : ""
}, },
{ {
"name": "DiscordBot", "name": "AI-API",
"script": "python3 -m llama_cpp.server", "script": "python3 -m llama_cpp.server",
"args" : "" "args" : ""
} }
] ]
} }