stable-diffusion-webui-forge icon indicating copy to clipboard operation
stable-diffusion-webui-forge copied to clipboard

[Bug]: Previews are not showing

Open yacinesh opened this issue 1 year ago • 18 comments

Checklist

  • [ ] The issue exists after disabling all extensions
  • [X] The issue exists on a clean installation of webui
  • [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • [X] The issue exists in the current version of the webui
  • [X] The issue has not been reported before recently
  • [ ] The issue has been reported before but has not been fixed yet

What happened?

while it generating i can't see the preview of the image

Steps to reproduce the problem

  1. type a prompt
  2. click on generate

What should have happened?

generate and showing a preview of the image while it generate

What browsers do you use to access the UI ?

No response

Sysinfo

sysinfo-2024-02-16-22-06.json

Console logs

/

Additional information

No response

yacinesh avatar Feb 16 '24 22:02 yacinesh

Same problem here

kakachiex2 avatar Feb 17 '24 02:02 kakachiex2

Try this: https://github.com/lllyasviel/stable-diffusion-webui-forge/issues/210#issuecomment-1949816255

whitesky1226 avatar Feb 17 '24 06:02 whitesky1226

@whitesky1226 I don't exactly understand what to do, can you help me with the details?

yacinesh avatar Feb 17 '24 12:02 yacinesh

It is no live preview when generating, although it has no effect on the results. I've compared the settings of a1111 and forge.

joneschunghk avatar Feb 19 '24 08:02 joneschunghk

Try adding the path via the command-line argument --gradio-allowed-path.

https://github.com/lllyasviel/stable-diffusion-webui-forge/issues/210#issuecomment-1947301705 This worked for me to restore previews.

jhlchu avatar Feb 21 '24 07:02 jhlchu

I've added the argument set COMMANDLINE_ARGS=--xformers --no-half-vae --autolaunch --gradio-allowed-path but error:

launch.py: error: argument --gradio-allowed-path: expected one argument

If I change the argument set COMMANDLINE_ARGS=--xformers --no-half-vae --autolaunch --gradio-allowed-path output nothing happen. Just show the final result without live previews.

What should be filled in GRADIO_ALLOWED_PATH?

joneschunghk avatar Feb 21 '24 08:02 joneschunghk

set COMMANDLINE_ARGS= --xformers --gradio-allowed-path "C:\Stable Diffusion\outputs" change the path in "" to your absolute path

jhlchu avatar Feb 21 '24 11:02 jhlchu

@jhlchu i've added this argument but still show the final result without live previews

yacinesh avatar Feb 21 '24 12:02 yacinesh

I've tried --gradio-allowed-path "D:\AI\Stable Diffusion\stable-diffusion-webui-forge\output" --gradio-allowed-path "D:/AI/Stable Diffusion/stable-diffusion-webui-forge/output" --gradio-allowed-path "D:\AI\Stable Diffusion\stable-diffusion-webui-forge\outputs" --gradio-allowed-path "D:/AI/Stable Diffusion/stable-diffusion-webui-forge/outputs" all the same.

joneschunghk avatar Feb 21 '24 18:02 joneschunghk

I tried all of it, it does not work!

VeteranXT avatar Feb 24 '24 17:02 VeteranXT

You have to specify the folder where the files actually reside, not the junction (mklink /J) that points to it. For example: --gradio-allowed-path "d:\pinokio\drive\drives\peers\d1708930112345\outputs" This works for me.

onliner2021 avatar Feb 26 '24 07:02 onliner2021

Didn't work for me

VeteranXT avatar Feb 26 '24 15:02 VeteranXT

Should be fixed when https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/15035 is merged upstream and pulled into this repo.

catboxanon avatar Feb 26 '24 17:02 catboxanon

use the path of a1111? not forge?

joneschunghk avatar Feb 27 '24 05:02 joneschunghk

I use junctions for all my folders so I have this issue currently. I have left my symbolic link in place until it's fixed but in the meantime I've just changed my settings in webui to my direct paths, restarted webui and it now works again. I'm a visuals person so hopefully this screenshot will make it easier for others too :)

image

DigitalBeer avatar Feb 29 '24 17:02 DigitalBeer

I use junctions for all my folders so I have this issue currently. I have left my symbolic link in place until it's fixed but in the meantime I've just changed my settings in webui to my direct paths, restarted webui and it now works again. I'm a visuals person so hopefully this screenshot will make it easier for others too :)

image

this fixed everything thank you

ZamZad avatar Mar 01 '24 03:03 ZamZad

Image is now showing,

VeteranXT avatar Mar 01 '24 18:03 VeteranXT

@DigitalBeer i've done just like yours but still not showing previews image

yacinesh avatar Mar 02 '24 13:03 yacinesh