yfszzx 2022-10-26 07:35:47 +08:00
commit 3ae5aa90e2
2 changed files with 15 additions and 2 deletions

View File

@ -1,2 +1,15 @@
# stable-diffusion-webui-images_browse
an images browse for stable-diffusion-webui
This an extension for [stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui)
This an images browser for browsing past generated pictures view their generated infomationssend the prompt to txt2img or img2img collect images to your "faveries" fold, delete the images you no longer need and you can also browse images in any folds in your computer
![image](https://s6.jpg.cm/2022/10/24/PJjuZt.png)
go to the directory \<stable-diffusion-webui project path\>/extensions and run command to install:
`git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser `
and restart your stable-diffusion-webui, then you can see the new tab "Images Browser"
[See here for more install details]( https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Extensions)

View File

@ -184,7 +184,7 @@ def create_tab(tabname):
if not custom_dir:
d = dir_name.split("/")
dir_name = d[0]
dir_name = "/" if dir_name.startswith("/") else d[0]
for p in d[1:]:
dir_name = os.path.join(dir_name, p)
if not os.path.exists(dir_name):