Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -3,7 +3,10 @@ ARG MODEL=https://huggingface.co/stabilityai/stable-diffusion-2-base
|
|
3 |
ARG INPAINTING_MODEL=https://huggingface.co/stabilityai/stable-diffusion-2-inpainting
|
4 |
|
5 |
RUN chown -R 1000:1000 /app
|
6 |
-
RUN
|
7 |
-
RUN
|
|
|
|
|
|
|
8 |
|
9 |
CMD diffuzers run --model model --inpainting_model inpainting_model --port 7860
|
|
|
3 |
ARG INPAINTING_MODEL=https://huggingface.co/stabilityai/stable-diffusion-2-inpainting
|
4 |
|
5 |
RUN chown -R 1000:1000 /app
|
6 |
+
RUN git clone ${MODEL} model
|
7 |
+
RUN git clone ${INPAINTING_MODEL} inpainting_model
|
8 |
+
|
9 |
+
RUN chown -R 1000:1000 /model
|
10 |
+
RUN chown -R 1000:1000 /inpainting_model
|
11 |
|
12 |
CMD diffuzers run --model model --inpainting_model inpainting_model --port 7860
|