@@ -25,14 +25,14 @@ A browser interface based on Gradio library for Stable Diffusion.
...
@@ -25,14 +25,14 @@ A browser interface based on Gradio library for Stable Diffusion.
- Resizing aspect ratio options
- Resizing aspect ratio options
- Sampling method selection
- Sampling method selection
- Interrupt processing at any time
- Interrupt processing at any time
- 4GB videocard support
- 4GB videocard support
- Correct seeds for batches
- Correct seeds for batches
- Prompt length validation
- Prompt length validation
- Generation parameters added as text to PNG
- Generation parameters added as text to PNG
- Tab to view an existing picture's generation parameters
- Tab to view an existing picture's generation parameters
- Settings page
- Settings page
- Running custom code from UI
- Running custom code from UI
- Mouseover hints fo most UI elements
- Mouseover hints for most UI elements
- Possible to change defaults/mix/max/step values for UI elements via text config
- Possible to change defaults/mix/max/step values for UI elements via text config
- Random artist button
- Random artist button
- Tiling support: UI checkbox to create images that can be tiled like textures
- Tiling support: UI checkbox to create images that can be tiled like textures
...
@@ -46,7 +46,7 @@ A browser interface based on Gradio library for Stable Diffusion.
...
@@ -46,7 +46,7 @@ A browser interface based on Gradio library for Stable Diffusion.
## Installing and running
## Installing and running
You need [python](https://www.python.org/downloads/windows/) and [git](https://git-scm.com/download/win)
You need [python](https://www.python.org/downloads/windows/) and [git](https://git-scm.com/download/win)
installed to run this, and an NVidia videocard.
installed to run this, and an NVidia videocard.
You need `model.ckpt`, Stable Diffusion model checkpoint, a big file containing the neural network weights. You
You need `model.ckpt`, Stable Diffusion model checkpoint, a big file containing the neural network weights. You
can obtain it from the following places:
can obtain it from the following places:
...
@@ -68,7 +68,7 @@ RealESRGAN into the directory with ESRGAN models. Thank you.
...
@@ -68,7 +68,7 @@ RealESRGAN into the directory with ESRGAN models. Thank you.
- install [git](https://git-scm.com/download/win)
- install [git](https://git-scm.com/download/win)
- place `model.ckpt` into webui directory, next to `webui.bat`.
- place `model.ckpt` into webui directory, next to `webui.bat`.
- _*(optional)*_ place `GFPGANv1.3.pth` into webui directory, next to `webui.bat`.
- _*(optional)*_ place `GFPGANv1.3.pth` into webui directory, next to `webui.bat`.
- run `webui-user.bat` from Windows Explorer. Run it as normal user, ***not*** as administrator.
- run `webui-user.bat` from Windows Explorer. Run it as a normal user, ***not*** as administrator.
#### Troubleshooting
#### Troubleshooting
...
@@ -100,7 +100,7 @@ to inconveniences when the file is updated in the repository.
...
@@ -100,7 +100,7 @@ to inconveniences when the file is updated in the repository.
The recommended way is to use another .bat file named anything you like, set the parameters you want in it, and run webui.bat from it.
The recommended way is to use another .bat file named anything you like, set the parameters you want in it, and run webui.bat from it.
A `webui-user.bat` file included into the repository does exactly this.
A `webui-user.bat` file included into the repository does exactly this.
Here is an example that runs the prgoram with `--opt-split-attention` argument:
Here is an example that runs the program with `--opt-split-attention` argument:
```commandline
```commandline
@echo off
@echo off
...
@@ -137,14 +137,14 @@ also but the effect will likely be barely noticeable.
...
@@ -137,14 +137,14 @@ also but the effect will likely be barely noticeable.
### Running online
### Running online
Use `--share` option to run online. You will get a xxx.app.gradio link. This is the intended way to use the
Use the `--share` option to run online. You will get a xxx.app.gradio link. This is the intended way to use the
program in collabs. You may set up authentication for said gradio shared instance with the flag `--gradio-auth username:password`, optionally providing multiple sets of usernames and passwords separated by commas.
program in collabs. You may set up authentication for said gradio shared instance with the flag `--gradio-auth username:password`, optionally providing multiple sets of usernames and passwords separated by commas.
Use `--listen` to make the server listen to network connections. This will allow computers on local newtork
Use `--listen` to make the server listen to network connections. This will allow computers on the local network
to access the UI, and if you configure port forwarding, also computers on the internet.
to access the UI, and if you configure port forwarding, also computers on the internet.
Use `--port xxxx` to make the server listen on a specific port, xxxx being the wanted port. Remember that
Use `--port xxxx` to make the server listen on a specific port, xxxx being the wanted port. Remember that
all ports below 1024 needs root/admin rights, for this reason it is advised to use a port above 1024.
all ports below 1024 need root/admin rights, for this reason it is advised to use a port above 1024.