Spaces:
Runtime error
Runtime error
pengdaqian
commited on
Commit
•
65f33c6
1
Parent(s):
4fdf8bd
warm up model
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -3,7 +3,7 @@ FROM python:3.8
|
|
3 |
COPY requirements.txt requirements.txt
|
4 |
RUN pip3 install -r requirements.txt
|
5 |
|
6 |
-
RUN mkdir $HOME/app/cache/transformers
|
7 |
ENV TRANSFORMERS_CACHE $HOME/app/cache/transformers
|
8 |
ENV HF_HOME $HOME/app/cache/transformers
|
9 |
|
|
|
3 |
COPY requirements.txt requirements.txt
|
4 |
RUN pip3 install -r requirements.txt
|
5 |
|
6 |
+
RUN mkdir -p $HOME/app/cache/transformers
|
7 |
ENV TRANSFORMERS_CACHE $HOME/app/cache/transformers
|
8 |
ENV HF_HOME $HOME/app/cache/transformers
|
9 |
|