@@ -20,7 +20,15 @@ can obtain it from the following places:
...
@@ -20,7 +20,15 @@ can obtain it from the following places:
You optionally can use GPFGAN to improve faces, then you'll need to download the model from [here](https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.3.pth).
You optionally can use GPFGAN to improve faces, then you'll need to download the model from [here](https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.3.pth).
Instructions:
### Automatic installation/launch
- place `model.ckpt` into webui directory, next to `webui.bat`.
- (optional) place `GFPGANv1.3.pth` into webui directory, next to `webui.bat`.
- run `webui.bat` from Windows explorer.
### Manual instructions
Alternatively, if you don't want to run webui.bat, here are instructions for installing
everything by hand:
```commandline
```commandline
:: crate a directory somewhere for stable diffusion and open cmd in it;
:: crate a directory somewhere for stable diffusion and open cmd in it;
parser.add_argument("--config",type=str,default=os.path.join(sd_path,"configs/stable-diffusion/v1-inference.yaml"),help="path to config which constructs model",)
parser.add_argument("--config",type=str,default=os.path.join(sd_path,"configs/stable-diffusion/v1-inference.yaml"),help="path to config which constructs model",)
parser.add_argument("--ckpt",type=str,default=os.path.join(sd_path,"models/ldm/stable-diffusion-v1/model.ckpt"),help="path to checkpoint of model",)
parser.add_argument("--ckpt",type=str,default=os.path.join(sd_path,sd_model_file),help="path to checkpoint of model",)