Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -20,7 +20,7 @@ ENV LLAMA_CUBLAS=1
|
|
20 |
# Install depencencies
|
21 |
RUN python3 -m pip install --upgrade pip pytest cmake \
|
22 |
scikit-build setuptools fastapi uvicorn sse-starlette \
|
23 |
-
pydantic-settings starlette-context gradio huggingface_hub hf_transfer
|
24 |
|
25 |
# Install llama-cpp-python (build with cuda)
|
26 |
RUN pip install llama-cpp-python \
|
@@ -39,6 +39,7 @@ ENV HOME=/home/user \
|
|
39 |
GRADIO_SERVER_NAME=0.0.0.0 \
|
40 |
GRADIO_THEME=huggingface \
|
41 |
SYSTEM=spaces
|
|
|
42 |
|
43 |
WORKDIR $HOME/app
|
44 |
|
|
|
20 |
# Install depencencies
|
21 |
RUN python3 -m pip install --upgrade pip pytest cmake \
|
22 |
scikit-build setuptools fastapi uvicorn sse-starlette \
|
23 |
+
pydantic-settings starlette-context gradio huggingface_hub[hf_transfer] hf_transfer
|
24 |
|
25 |
# Install llama-cpp-python (build with cuda)
|
26 |
RUN pip install llama-cpp-python \
|
|
|
39 |
GRADIO_SERVER_NAME=0.0.0.0 \
|
40 |
GRADIO_THEME=huggingface \
|
41 |
SYSTEM=spaces
|
42 |
+
HF_HUB_ENABLE_HF_TRANSFER=1
|
43 |
|
44 |
WORKDIR $HOME/app
|
45 |
|