Skip to content

Commit 162e025

Browse files
committed
Merge branch 'main' into feature_textual_inversion_mgr
2 parents cbad458 + 12769b3 commit 162e025

File tree

12 files changed

+304
-139
lines changed

12 files changed

+304
-139
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,7 @@ To join, just raise your hand on the InvokeAI Discord server (#dev-chat) or the
167167

168168
If you are unfamiliar with how
169169
to contribute to GitHub projects, here is a
170-
[Getting Started Guide](https://opensource.com/article/19/7/create-pull-request-github). A full set of contribution guidelines, along with templates, are in progress, but for now the most
171-
important thing is to **make your pull request against the "development" branch**, and not against
172-
"main". This will help keep public breakage to a minimum and will allow you to propose more radical
173-
changes.
170+
[Getting Started Guide](https://opensource.com/article/19/7/create-pull-request-github). A full set of contribution guidelines, along with templates, are in progress. You can **make your pull request against the "main" branch**.
174171

175172
We hope you enjoy using our software as much as we enjoy creating it,
176173
and we hope that some of those of you who are reading this will elect

docs/features/CONCEPTS.md

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ generated using the command-line client and the Stable Diffusion 1.5 model:
3737
You can also combine styles and concepts:
3838

3939
<figure markdown>
40-
![](../assets/concepts/image5.png)
41-
<figcaption>A portrait of &lt;alf&gt; in &lt;cartoona-animal&gt; style</figcaption>
40+
| A portrait of &lt;alf&gt; in &lt;cartoona-animal&gt; style |
41+
| :--------------------------------------------------------: |
42+
| ![](../assets/concepts/image5.png) |
4243
</figure>
4344
## Using a Hugging Face Concept
4445

@@ -49,24 +50,26 @@ find out what each concept is for, you can browse the
4950
look at examples of what each concept produces.
5051

5152
When you have an idea of a concept you wish to try, go to the command-line
52-
client (CLI) and type a "&lt;" character and the beginning of the Hugging Face
53-
concept name you wish to load. Press the Tab key, and the CLI will show you all
54-
matching concepts. You can also type "&lt;" and Tab to get a listing of all ~800
55-
concepts, but be prepared to scroll up to see them all! If there is more than
56-
one match you can continue to type and Tab until the concept is completed.
53+
client (CLI) and type a `<` character and the beginning of the Hugging Face
54+
concept name you wish to load. Press ++tab++, and the CLI will show you all
55+
matching concepts. You can also type `<` and hit ++tab++ to get a listing of all
56+
~800 concepts, but be prepared to scroll up to see them all! If there is more
57+
than one match you can continue to type and ++tab++ until the concept is
58+
completed.
5759

58-
For example if you type "&lt;x" and Tab, you'll be prompted with the
59-
completions:
60+
!!! example
6061

61-
```
62-
<xatu2> <xatu> <xbh> <xi> <xidiversity> <xioboma> <xuna> <xyz>
63-
```
62+
if you type in `<x` and hit ++tab++, you'll be prompted with the completions:
63+
64+
```py
65+
<xatu2> <xatu> <xbh> <xi> <xidiversity> <xioboma> <xuna> <xyz>
66+
```
6467

65-
Now type "id" and press Tab. It will be autocompleted to "&lt;xidiversity&gt;"
66-
because this is a unique match.
68+
Now type `id` and press ++tab++. It will be autocompleted to `<xidiversity>`
69+
because this is a unique match.
6770

68-
Finish your prompt and generate as usual. You may include multiple concept terms
69-
in the prompt.
71+
Finish your prompt and generate as usual. You may include multiple concept terms
72+
in the prompt.
7073

7174
If you have never used this concept before, you will see a message that the TI
7275
model is being downloaded and installed. After this, the concept will be saved
@@ -75,10 +78,10 @@ locally (in the `models/sd-concepts-library` directory) for future use.
7578
Several steps happen during downloading and installation, including a scan of
7679
the file for malicious code. Should any errors occur, you will be warned and the
7780
concept will fail to load. Generation will then continue treating the trigger
78-
term as a normal string of characters (e.g. as literal "&lt;ghibli-face&gt;").
81+
term as a normal string of characters (e.g. as literal `<ghibli-face>`).
7982

80-
Currently auto-installation of concepts is a feature only available on the
81-
command-line client. Support for the WebUI is a work in progress.
83+
You can also use `<concept-names>` in the WebGUI's prompt textbox. There is no
84+
autocompletion at this time.
8285

8386
## Installing your Own TI Files
8487

0 commit comments

Comments
 (0)