Relax Huggingface login requirement during setup (#2046)

* (config) handle huggingface token more gracefully

* (docs) document HuggingFace token requirement for Concepts

* (cli) deprecate the --(no)-interactive CLI flag

It was previously only used to skip the SD weights download, and therefore
the prompt for Huggingface token (the "interactive" part).

Now that we don't need a Huggingface token
to download the SD weights at all, we can replace this flag with
"--skip-sd-weights", to clearly describe its purpose

The `--(no)-interactive` flag still functions the same, but shows a deprecation message

* (cli) fix emergency_model_reconfigure argument parsing

* (config) fix installation issues on systems with non-UTF8 locale

Co-authored-by: Matthias Wild <40327258+mauwii@users.noreply.github.com>
This commit is contained in:
Eugene Brodsky
2022-12-18 04:44:50 -05:00
committed by GitHub
parent 5c5454e4a5
commit f41da11d66
7 changed files with 148 additions and 77 deletions

View File

@@ -116,7 +116,7 @@ jobs:
- name: run configure_invokeai.py
id: run-preload-models
run: |
python scripts/configure_invokeai.py --no-interactive --yes
python scripts/configure_invokeai.py --skip-sd-weights --yes
- name: cat invokeai.init
id: cat-invokeai

View File

@@ -118,7 +118,7 @@ jobs:
- name: run configure_invokeai.py
id: run-preload-models
run: python3 scripts/configure_invokeai.py --no-interactive --yes
run: python3 scripts/configure_invokeai.py --skip-sd-weights --yes
- name: Run the tests
id: run-tests