mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
CI: remove sh-syntax if-statement so it doesn't crash powershell
This commit is contained in:
parent
3607042c9d
commit
0605cf4609
6
.github/workflows/test-invoke-conda.yml
vendored
6
.github/workflows/test-invoke-conda.yml
vendored
@ -99,11 +99,9 @@ jobs:
|
|||||||
|
|
||||||
- name: run configure_invokeai.py
|
- name: run configure_invokeai.py
|
||||||
id: run-preload-models
|
id: run-preload-models
|
||||||
|
env:
|
||||||
|
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGINGFACE_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
if [ "${HAVE_SECRETS}" == true ] ; then
|
|
||||||
mkdir -p ~/.huggingface
|
|
||||||
echo -n '${{ secrets.HUGGINGFACE_TOKEN }}' > ~/.huggingface/token
|
|
||||||
fi
|
|
||||||
python scripts/configure_invokeai.py \
|
python scripts/configure_invokeai.py \
|
||||||
--no-interactive --yes \
|
--no-interactive --yes \
|
||||||
--full-precision # can't use fp16 weights without a GPU
|
--full-precision # can't use fp16 weights without a GPU
|
||||||
|
6
.github/workflows/test-invoke-pip.yml
vendored
6
.github/workflows/test-invoke-pip.yml
vendored
@ -104,11 +104,9 @@ jobs:
|
|||||||
|
|
||||||
- name: run configure_invokeai.py
|
- name: run configure_invokeai.py
|
||||||
id: run-preload-models
|
id: run-preload-models
|
||||||
|
env:
|
||||||
|
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGINGFACE_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
if [ "${HAVE_SECRETS}" == true ] ; then
|
|
||||||
mkdir -p ~/.huggingface
|
|
||||||
echo -n '${{ secrets.HUGGINGFACE_TOKEN }}' > ~/.huggingface/token
|
|
||||||
fi
|
|
||||||
python3 scripts/configure_invokeai.py \
|
python3 scripts/configure_invokeai.py \
|
||||||
--no-interactive --yes \
|
--no-interactive --yes \
|
||||||
--full-precision # can't use fp16 weights without a GPU
|
--full-precision # can't use fp16 weights without a GPU
|
||||||
|
Loading…
Reference in New Issue
Block a user