pngwn HF staff commited on
Commit
0254667
1 Parent(s): 42b96f4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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