Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -13,7 +13,8 @@ RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt
|
|
13 |
# You can replace MODEL_ID or adapter repos as needed
|
14 |
|
15 |
# -- Download Stable Diffusion v1-5 weights --
|
16 |
-
RUN python -c "from diffusers import StableDiffusionImg2ImgPipeline; StableDiffusionImg2ImgPipeline.from_pretrained('runwayml/stable-diffusion-v1-5', cache_dir='./models', torch_dtype='float32')"
|
|
|
17 |
|
18 |
# -- Download IP-Adapter weights (official Hugging Face repo) --
|
19 |
RUN mkdir -p ./models/ip_adapter && \
|
|
|
13 |
# You can replace MODEL_ID or adapter repos as needed
|
14 |
|
15 |
# -- Download Stable Diffusion v1-5 weights --
|
16 |
+
# RUN python -c "from diffusers import StableDiffusionImg2ImgPipeline; StableDiffusionImg2ImgPipeline.from_pretrained('runwayml/stable-diffusion-v1-5', cache_dir='./models', torch_dtype='float32')"
|
17 |
+
RUN python -c "import torch; from diffusers import StableDiffusionImg2ImgPipeline; StableDiffusionImg2ImgPipeline.from_pretrained('runwayml/stable-diffusion-v1-5', cache_dir='./models', torch_dtype=torch.float32)"
|
18 |
|
19 |
# -- Download IP-Adapter weights (official Hugging Face repo) --
|
20 |
RUN mkdir -p ./models/ip_adapter && \
|