KarthikAI commited on
Commit
f2b2714
·
verified ·
1 Parent(s): c6513d5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -10,7 +10,7 @@ COPY requirements.txt .
10
  RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt
11
 
12
  # Set Hugging Face cache for all model downloads (best practice for Spaces)
13
- ENV TRANSFORMERS_CACHE="/workspace/.cache/huggingface"
14
  RUN mkdir -p /workspace/.cache/huggingface
15
 
16
  # Pre-download Stable Diffusion v1-5 weights into cache
 
10
  RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt
11
 
12
  # Set Hugging Face cache for all model downloads (best practice for Spaces)
13
+ ENV HF_HOME="/workspace/.cache/huggingface"
14
  RUN mkdir -p /workspace/.cache/huggingface
15
 
16
  # Pre-download Stable Diffusion v1-5 weights into cache