aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-07 03:13:28 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-07 03:13:28 +0300
commit9cb3cc3a2f5f419dd594f3322fa35113a6ed2391 (patch)
tree5213b937c069820e935235267de77cf98f01f7f1 /README.md
parent6521f90fa2074f83c643b019e2aa37b1108591a1 (diff)
Textual inversion info
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 99c19d3a..0183ccb5 100644
--- a/README.md
+++ b/README.md
@@ -102,6 +102,14 @@ program in collabs.
Use `--listen` to make the server listen to network connections. This will allow computers on local newtork
to access the UI, and if you configure port forwarding, also computers on the internet.
+### Textual Inversion
+To make use of pretrained embeddings, create `embeddings` directory (in the same palce as `webui.py`)
+and put your embeddings into it. They must be .pt files, each with only one trained embedding,
+and the filename (without .pt) will be the term you'd use in prompt to get that embedding.
+
+As an example, I trained one for about 5000 steps: https://files.catbox.moe/e2ui6r.pt; it does not produce
+very good results, but it does work. Download and rename it to Usada Pekora.pt, and put it into embeddings dir
+and use Usada Pekora in prompt.
### How to change UI defaults?