mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-08 08:34:21 +01:00
Update version
This commit is contained in:
parent
504f244c58
commit
4f58c0a9fb
|
|
@ -12,7 +12,7 @@ RUN apt-get update && apt install fonts-dejavu-core rsync -y && apt-get clean
|
||||||
|
|
||||||
# Note: don't update the sha of previous versions because the install will take forever
|
# Note: don't update the sha of previous versions because the install will take forever
|
||||||
# instead, update the repo state in a later step
|
# instead, update the repo state in a later step
|
||||||
RUN cd stable-diffusion && git pull && git reset --hard ba12cc71f5170654f6047eb1d2b7993dcddf785c && \
|
RUN cd stable-diffusion && git pull && git reset --hard e51657753737f98f8586701b4b7562b846db9d44 && \
|
||||||
conda env update --file environment.yaml --name base && conda clean -a -y
|
conda env update --file environment.yaml --name base && conda clean -a -y
|
||||||
|
|
||||||
# download dev UI version, update the sha below in case you want some other version
|
# download dev UI version, update the sha below in case you want some other version
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,12 @@ MODELS["/latent-diffusion/experiments/pretrained_models/project.yaml"]=LDSR.yaml
|
||||||
for path in "${!MODELS[@]}"; do
|
for path in "${!MODELS[@]}"; do
|
||||||
name=${MODELS[$path]}
|
name=${MODELS[$path]}
|
||||||
base=$(dirname "${path}")
|
base=$(dirname "${path}")
|
||||||
test -f "/models/${name}" && mkdir -p "${base}" && ln -sf "/models/${name}" "${path}" && echo "Mounted ${name}"
|
from_path="/models/${name}"
|
||||||
|
if test -f "${from_path}"; then
|
||||||
|
mkdir -p "${base}" && ln -sf "${from_path}" "${path}" && echo "Mounted ${name}"
|
||||||
|
else
|
||||||
|
echo "Skipping ${name}"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# force facexlib cache
|
# force facexlib cache
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue