Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -17,8 +17,8 @@ RUN mkdir -p /workspace/.cache/huggingface
|
|
17 |
RUN python -c "import torch; from diffusers import StableDiffusionImg2ImgPipeline; StableDiffusionImg2ImgPipeline.from_pretrained('runwayml/stable-diffusion-v1-5', cache_dir='/workspace/.cache/huggingface', torch_dtype=torch.float32)"
|
18 |
|
19 |
# Pre-download IP-Adapter weights (if using)
|
20 |
-
RUN mkdir -p /workspace/.cache/huggingface/ip_adapter && \
|
21 |
-
|
22 |
|
23 |
# Copy app code
|
24 |
COPY . .
|
|
|
17 |
RUN python -c "import torch; from diffusers import StableDiffusionImg2ImgPipeline; StableDiffusionImg2ImgPipeline.from_pretrained('runwayml/stable-diffusion-v1-5', cache_dir='/workspace/.cache/huggingface', torch_dtype=torch.float32)"
|
18 |
|
19 |
# Pre-download IP-Adapter weights (if using)
|
20 |
+
# RUN mkdir -p /workspace/.cache/huggingface/ip_adapter && \
|
21 |
+
# wget -O /workspace/.cache/huggingface/ip_adapter/ip-adapter_sd15.bin https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter_sd15.bin
|
22 |
|
23 |
# Copy app code
|
24 |
COPY . .
|