Open cmwang92 opened 1 year ago
Did you find a way to do it? @cmwang92 ?
I think I got LORA to work.
on download layer
RUN apk add --no-cache wget && \
- wget -q -O /model.safetensors https://civitai.com/api/download/models/15236
+ wget -q -O /model.safetensors https://civitai.com/api/download/models/15236 && \
+ wget -q -O /YOUR_LORA.safetensors https://your_site.com/YOUR_LORA.safetensors
on build_final_image layer
COPY --from=download /model.safetensors /model.safetensors
+COPY --from=download /YOUR_LORA.safetensors /stable-diffusion-webui/models/Lora/
Does this way of adding lora work?
Hello , Great work! just one question, how to add LoRa in Dockerfile ?