-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect extra network preview endpoint #217
Comments
I'm aware of this endpoint, the reason I didn't use it was for compatibility with older webui versions that don't have it. But if the current version breaks with symlinks I'll try to use the proper one first and the naive as a fallback. |
Sorry it took a while, I was experimenting with different fallback methods. |
No worries. That fix did the trick -- thanks! |
I don't think this is using the correct endpoint currently. Since I have symlinked folders these preview URLs don't work for me, and returns a
403
error.http://127.0.0.1:7860/file=E:/SD/LoRA\styles\lora.png
The extra networks implementation actually uses a separate endpoint for this to workaround this issue, which looks something like this.
http://127.0.0.1:7860/sd_extra_networks/thumb?filename=E:/SD/LoRA/styles/lora.png&mtime=1677337028.0
https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/68f336bd994bed5442ad95bad6b6ad5564a5409a/modules/ui_extra_networks.py#L124
The text was updated successfully, but these errors were encountered: