mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 09:55:06 +03:00
fix(sd-webui) (#3178)
* fix(sd-webui) * buckshot * how many choices are there? * i definitely hate this, but maybe it'll work * this seems to "work" :/
This commit is contained in:
parent
95ad8bea0b
commit
17ddbccdb0
1 changed files with 10 additions and 0 deletions
|
@ -18,6 +18,9 @@ dependencies:
|
||||||
# still tries to use git. hopefully nothing is broken because we
|
# still tries to use git. hopefully nothing is broken because we
|
||||||
# clear out all the git repos (they were 100s of MB)
|
# clear out all the git repos (they were 100s of MB)
|
||||||
git-scm.org: ^2
|
git-scm.org: ^2
|
||||||
|
# For replacing Pillow's vendorized libwebp
|
||||||
|
darwin/x86-64:
|
||||||
|
google.com/webp: '*'
|
||||||
|
|
||||||
#FIXME pls make this work on Linux thanks
|
#FIXME pls make this work on Linux thanks
|
||||||
platforms: darwin
|
platforms: darwin
|
||||||
|
@ -42,6 +45,12 @@ build:
|
||||||
# installs python virtual-env
|
# installs python virtual-env
|
||||||
- ./webui.sh
|
- ./webui.sh
|
||||||
|
|
||||||
|
# Pillow ships dylibs that don't have room for our header rewrites.
|
||||||
|
# If we delete them, we can use ours.
|
||||||
|
- run: rm libwebp.7.dylib
|
||||||
|
working-directory: venv/lib/python3.10/site-packages/PIL/.dylibs
|
||||||
|
if: darwin/x86-64
|
||||||
|
|
||||||
# torchvision .whl dylibs are broken out the box :/
|
# torchvision .whl dylibs are broken out the box :/
|
||||||
- run:
|
- run:
|
||||||
install_name_tool
|
install_name_tool
|
||||||
|
@ -68,6 +77,7 @@ build:
|
||||||
# removes the prepare_environment() step since we have already done that
|
# removes the prepare_environment() step since we have already done that
|
||||||
- run: |
|
- run: |
|
||||||
sed -i.bak \
|
sed -i.bak \
|
||||||
|
-e '/with launch_utils\.startup_timer\.subcategory("prepare environment"):/{N;N;N;d;}' \
|
||||||
-e '/if not args\.skip_prepare_environment:/{N;N;d;}' \
|
-e '/if not args\.skip_prepare_environment:/{N;N;d;}' \
|
||||||
-e '/prepare_environment()/d' \
|
-e '/prepare_environment()/d' \
|
||||||
launch.py
|
launch.py
|
||||||
|
|
Loading…
Reference in a new issue