From 9cb3cc3a2f5f419dd594f3322fa35113a6ed2391 Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Wed, 7 Sep 2022 03:13:28 +0300 Subject: [PATCH] Textual inversion info --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) 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?