gitakaar/test-space
0
1FROM python:3.102 3WORKDIR /content4 5RUN apt update -y && apt install -y aria26 7RUN git clone https://github.com/oobabooga/text-generation-webui8RUN pip install -r ./text-generation-webui/requirements.txt9 10 11 12RUN aria2c --split=16 --max-connection-per-server=16 --max-concurrent-downloads=16 \13 "https://huggingface.co/TheBloke/baichuan-vicuna-7B-GGML/resolve/main/baichuan-vicuna-7b.ggmlv3.q4_0.bin"\14 -o "baichuan-vicuna-7b.ggmlv3.q4_0.bin"\15 --file-allocation=none --dir=/content/text-generation-webui/models16 17RUN adduser user18RUN chown -R user:user /content19RUN chmod -R 777 /content20USER user21 22EXPOSE 786023 24CMD ./serr.py