pcuenq HF staff commited on
Commit
e587e89
1 Parent(s): 3b6bdba

Requirements

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -0
  2. requirements.txt +1 -0
Dockerfile CHANGED
@@ -31,6 +31,7 @@ WORKDIR $HOME/app
31
  # Should we pin versions here?
32
  COPY --chown=user ./ $HOME/app
33
  RUN pip install --no-cache-dir -r requirements.txt
 
34
 
35
  ENV PYTHONPATH $HOME/app
36
  ENV PYTHONUNBUFFERED 1
@@ -39,5 +40,6 @@ ENV GRADIO_NUM_PORTS 1
39
  ENV GRADIO_SERVER_NAME 0.0.0.0
40
  ENV GRADIO_THEME huggingface
41
  ENV SYSTEM spaces
 
42
 
43
  CMD ["python", "app.py"]
 
31
  # Should we pin versions here?
32
  COPY --chown=user ./ $HOME/app
33
  RUN pip install --no-cache-dir -r requirements.txt
34
+ RUN pip install --no-cache-dir -r llama.cpp/requirements.txt
35
 
36
  ENV PYTHONPATH $HOME/app
37
  ENV PYTHONUNBUFFERED 1
 
40
  ENV GRADIO_SERVER_NAME 0.0.0.0
41
  ENV GRADIO_THEME huggingface
42
  ENV SYSTEM spaces
43
+ ENV HF_HUB_ENABLE_HF_TRANSFER 1
44
 
45
  CMD ["python", "app.py"]
requirements.txt CHANGED
@@ -1,2 +1,3 @@
1
  gradio
2
  huggingface-hub
 
 
1
  gradio
2
  huggingface-hub
3
+ hf-transfer