Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -35,8 +35,9 @@ RUN python -m venv env && \
|
|
| 35 |
pip install torch==2.2.2 --index-url https://download.pytorch.org/whl/cpu && \
|
| 36 |
pip install -r requirements.txt
|
| 37 |
|
| 38 |
-
# Download a default model (
|
| 39 |
-
RUN git clone https://huggingface.co/latent-consistency/lcm-
|
|
|
|
| 40 |
|
| 41 |
# Configure the model path
|
| 42 |
RUN echo "/models/lcm-lora-sdv1-5" > configs/lcm-lora-models.txt && \
|
|
|
|
| 35 |
pip install torch==2.2.2 --index-url https://download.pytorch.org/whl/cpu && \
|
| 36 |
pip install -r requirements.txt
|
| 37 |
|
| 38 |
+
# Download a default model (corrected URL for lcm-lora-sdv1-5)
|
| 39 |
+
RUN git clone https://huggingface.co/latent-consistency/lcm-lora-sdv1-5 /models/lcm-lora-sdv1-5 || \
|
| 40 |
+
echo "Model clone failed. Please check network or manually download the model."
|
| 41 |
|
| 42 |
# Configure the model path
|
| 43 |
RUN echo "/models/lcm-lora-sdv1-5" > configs/lcm-lora-models.txt && \
|