AshDavid12 commited on
Commit
5f98e1b
·
1 Parent(s): 70bfb31

hf home change

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -8,7 +8,8 @@ WORKDIR /app
8
  RUN mkdir -p /app/hf_cache && chmod -R 777 /app/hf_cache
9
 
10
  # Set the environment variable for the Hugging Face cache
11
- ENV TRANSFORMERS_CACHE=/app/hf_cache
 
12
 
13
  # Copy the requirements.txt file and install the dependencies
14
  COPY requirements.txt .
 
8
  RUN mkdir -p /app/hf_cache && chmod -R 777 /app/hf_cache
9
 
10
  # Set the environment variable for the Hugging Face cache
11
+ ENV HF_HOME=/app/hf_cache
12
+
13
 
14
  # Copy the requirements.txt file and install the dependencies
15
  COPY requirements.txt .