Update 050_INSTALLING_MODELS.md (#2576)

Using Windows 10 I found I needed to use double backslashes to import a
new model, when using single backslash the output would say
"e:_ProjectsCodemodelsldmstable-diffusion-model-to-import.ckpt is
neither the path to a .ckpt file nor a diffusers repository id. Can't
import." This added tip in the documentation will help Windows users
overcome this.
This commit is contained in:
Lincoln Stein 2023-02-08 14:25:36 -05:00 committed by GitHub
commit c9d246c4ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,6 +167,11 @@ the command-line client's `!import_model` command.
Once you have typed in `!import_model `, you can drag the model `.ckpt` file
onto the command-line to insert the model path. This way, you don't need to
type it or copy/paste.
!!! tip "on Windows, you may need to use double backslash in the filename, or alternatively replace backslashes with forward slashes"
Example: E:\\_Projects\\Code\\models\\ldm\\stable-diffusion-v1\\new-model-to-add.ckpt
Or alternatively: E:/_Projects/Code/Models/ldm/stable-diffusion-v1/new-model-to-add.ckpt
4. Follow the wizard's instructions to complete installation as shown in the
example here: