mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
update entrypoint
- when run without arguments it starts the web-interface - can also be run with your own arguments - if u do so it does not start web unless u do
This commit is contained in:
parent
38ff75c7ea
commit
0c3de595df
@ -1,10 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
cd /stable-diffusion
|
source "${CONDA_PREFIX}/etc/profile.d/conda.sh"
|
||||||
|
conda activate "${PROJECT_NAME}"
|
||||||
|
|
||||||
if [ $# -eq 0 ]; then
|
python scripts/invoke.py \
|
||||||
python3 scripts/dream.py --full_precision -o /data
|
${@:---web --host=0.0.0.0}
|
||||||
# bash
|
|
||||||
else
|
|
||||||
python3 scripts/dream.py --full_precision -o /data "$@"
|
|
||||||
fi
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user