some small formatting fixes

This commit is contained in:
mauwii 2023-02-13 23:10:58 +01:00
parent 5d2bdd478c
commit 15a9412255
No known key found for this signature in database
GPG Key ID: D923DB04ADB3F5AB

View File

@ -80,10 +80,12 @@ only `.safetensors` and `.ckpt` models, but they can be easily loaded
into InvokeAI and/or converted into optimized `diffusers` models. Be into InvokeAI and/or converted into optimized `diffusers` models. Be
aware that CIVITAI hosts many models that generate NSFW content. aware that CIVITAI hosts many models that generate NSFW content.
**Note** that InvokeAI 2.3.x does not support directly importing and !!! note
running Stable Diffusion version 2 checkpoint models. You may instead
convert them into `diffusers` models using the conversion methods InvokeAI 2.3.x does not support directly importing and
described below. running Stable Diffusion version 2 checkpoint models. You may instead
convert them into `diffusers` models using the conversion methods
described below.
## Installation ## Installation
@ -161,10 +163,11 @@ the default model on startup. You can change this later using
You may also point `!import_model` to a directory containing a set of You may also point `!import_model` to a directory containing a set of
`.ckpt` or `.safetensors` files. They will be imported _en masse_. `.ckpt` or `.safetensors` files. They will be imported _en masse_.
Example: !!! example
```console
invoke> !import_model C:/Users/fred/Downloads/civitai_models/ ```console
``` invoke> !import_model C:/Users/fred/Downloads/civitai_models/
```
You will be given the option to import all models found in the You will be given the option to import all models found in the
directory, or select which ones to import. If there are subfolders directory, or select which ones to import. If there are subfolders
@ -313,14 +316,18 @@ up a dialogue that lists the models you have already installed, and
allows you to load, delete or edit them: allows you to load, delete or edit them:
<figure markdown> <figure markdown>
![model-manager](../assets/installing-models/webui-models-1.png) ![model-manager](../assets/installing-models/webui-models-1.png)
</figure> </figure>
To add a new model, click on **+ Add New** and select to either a To add a new model, click on **+ Add New** and select to either a
checkpoint/safetensors model, or a diffusers model: checkpoint/safetensors model, or a diffusers model:
<figure markdown> <figure markdown>
![model-manager-add-new](../assets/installing-models/webui-models-2.png) ![model-manager-add-new](../assets/installing-models/webui-models-2.png)
</figure> </figure>
In this example, we chose **Add Diffusers**. As shown in the figure In this example, we chose **Add Diffusers**. As shown in the figure
@ -331,7 +338,9 @@ choose to enter a path to disk, the system will autocomplete for you
as you type: as you type:
<figure markdown> <figure markdown>
![model-manager-add-diffusers](../assets/installing-models/webui-models-3.png) ![model-manager-add-diffusers](../assets/installing-models/webui-models-3.png)
</figure> </figure>
Press **Add Model** at the bottom of the dialogue (scrolled out of Press **Add Model** at the bottom of the dialogue (scrolled out of
@ -346,7 +355,9 @@ directory and press the "Search" icon. This will display the
subfolders, and allow you to choose which ones to import: subfolders, and allow you to choose which ones to import:
<figure markdown> <figure markdown>
![model-manager-add-checkpoint](../assets/installing-models/webui-models-4.png) ![model-manager-add-checkpoint](../assets/installing-models/webui-models-4.png)
</figure> </figure>
## Model Management Startup Options ## Model Management Startup Options
@ -371,9 +382,8 @@ invoke.sh --autoconvert /home/fred/stable-diffusion-checkpoints
And here is what the same argument looks like in `invokeai.init`: And here is what the same argument looks like in `invokeai.init`:
``` ```bash
--outdir="/home/fred/invokeai/outputs --outdir="/home/fred/invokeai/outputs
--no-nsfw_checker --no-nsfw_checker
--autoconvert /home/fred/stable-diffusion-checkpoints --autoconvert /home/fred/stable-diffusion-checkpoints
``` ```