mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Merge branch 'main' into dev/codeowner-fix-main
This commit is contained in:
commit
46f5ef4100
@ -148,6 +148,11 @@ not supported.
|
|||||||
pip install InvokeAI --use-pep517 --extra-index-url https://download.pytorch.org/whl/rocm5.4.2
|
pip install InvokeAI --use-pep517 --extra-index-url https://download.pytorch.org/whl/rocm5.4.2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
_For non-GPU systems:_
|
||||||
|
```terminal
|
||||||
|
pip install InvokeAI --use-pep517 --extra-index-url https://download.pytorch.org/whl/cpu
|
||||||
|
```
|
||||||
|
|
||||||
_For Macintoshes, either Intel or M1/M2:_
|
_For Macintoshes, either Intel or M1/M2:_
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
@ -32,7 +32,7 @@ turned on and off on the command line using `--nsfw_checker` and
|
|||||||
At installation time, InvokeAI will ask whether the checker should be
|
At installation time, InvokeAI will ask whether the checker should be
|
||||||
activated by default (neither argument given on the command line). The
|
activated by default (neither argument given on the command line). The
|
||||||
response is stored in the InvokeAI initialization file (usually
|
response is stored in the InvokeAI initialization file (usually
|
||||||
`.invokeai` in your home directory). You can change the default at any
|
`invokeai.init` in your home directory). You can change the default at any
|
||||||
time by opening this file in a text editor and commenting or
|
time by opening this file in a text editor and commenting or
|
||||||
uncommenting the line `--nsfw_checker`.
|
uncommenting the line `--nsfw_checker`.
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ class HuggingFaceConceptsLibrary(object):
|
|||||||
self.concept_list.extend(list(local_concepts_to_add))
|
self.concept_list.extend(list(local_concepts_to_add))
|
||||||
return self.concept_list
|
return self.concept_list
|
||||||
return self.concept_list
|
return self.concept_list
|
||||||
else:
|
elif Globals.internet_available is True:
|
||||||
try:
|
try:
|
||||||
models = self.hf_api.list_models(
|
models = self.hf_api.list_models(
|
||||||
filter=ModelFilter(model_name="sd-concepts-library/")
|
filter=ModelFilter(model_name="sd-concepts-library/")
|
||||||
@ -73,6 +73,8 @@ class HuggingFaceConceptsLibrary(object):
|
|||||||
" ** You may load .bin and .pt file(s) manually using the --embedding_directory argument."
|
" ** You may load .bin and .pt file(s) manually using the --embedding_directory argument."
|
||||||
)
|
)
|
||||||
return self.concept_list
|
return self.concept_list
|
||||||
|
else:
|
||||||
|
return self.concept_list
|
||||||
|
|
||||||
def get_concept_model_path(self, concept_name: str) -> str:
|
def get_concept_model_path(self, concept_name: str) -> str:
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user