lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
8.36k stars 812 forks source link

[Bug]: Previews are not showing #282

Closed yacinesh closed 1 week ago

yacinesh commented 8 months ago

Checklist

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

kakachiex2 commented 8 months ago

Same problem here

whitesky1226 commented 8 months ago

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

yacinesh commented 8 months ago

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

joneschunghk commented 8 months ago

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

jhlchu commented 8 months ago

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.

joneschunghk commented 8 months ago

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?

jhlchu commented 8 months ago

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

yacinesh commented 8 months ago

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

joneschunghk commented 8 months ago

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.

VeteranXT commented 8 months ago

I tried all of it, it does not work!

onliner2021 commented 8 months ago

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.

VeteranXT commented 8 months ago

Didn't work for me

catboxanon commented 8 months ago

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

joneschunghk commented 8 months ago

use the path of a1111? not forge?

DigitalBeer commented 8 months ago

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

ZamZad commented 8 months ago

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

VeteranXT commented 8 months ago

Image is now showing,

yacinesh commented 8 months ago

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

catboxanon commented 1 week ago

Was resolved 3 months ago by https://github.com/lllyasviel/stable-diffusion-webui-forge/commit/e26abf87ecd1eefd9ab0a198eee56f9c643e4001, closing