sarch7040 commited on
Commit
e2e0a75
·
1 Parent(s): 4df534d

Changed depracated TRANSFORMER_CACHE environment variable to HF_HOME for transformersv5

Browse files
Files changed (2) hide show
  1. .gitignore +1 -0
  2. Dockerfile +1 -1
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ key.txt
Dockerfile CHANGED
@@ -5,7 +5,7 @@ FROM python:3.9-slim
5
  WORKDIR /app
6
 
7
  # Define a writable cache directory
8
- ENV TRANSFORMERS_CACHE=/tmp/.cache
9
 
10
  # Copy requirements.txt and install dependencies
11
  COPY requirements.txt .
 
5
  WORKDIR /app
6
 
7
  # Define a writable cache directory
8
+ ENV HF_HOME=/tmp/.cache
9
 
10
  # Copy requirements.txt and install dependencies
11
  COPY requirements.txt .