解决stable-diffusion-webui切换模型报Something went wrong 问题

报错的问题

好久没用这个了,这2天切换模型突然报这个错误。

stable-diffusion-webui  Something went wrong

谷歌了了下,应该是找到了解决办法。

这个是github上面提交的BUG(Something went wrong)

[Bug]: "Expecting value: line 1 column 1 (char 0)" thrown, when I added "--listen" to my "COMMANDLINE_ARGS" · Issue #9132 · AUTOMATIC1111/stable-diffusion-webui · GitHub (github.com)

Is there an existing issue for this? I have searched the existing issues and checked the recent builds/commits What happened? Hello, developers I added --listen arg to my COMMANDLINE_ARGS, like "set COMMANDLINE_ARGS= --listen". which loc...

I found the reason because the network proxy software was turned on, turning off the shadowsocks will work fine, or use --no-gradio-queue

<html>
<head>
 <title>500 Internal Privoxy Error</title>
 <link rel="shortcut icon" href="http://config.privoxy.org/error-favicon.ico" type="image/x-icon"></head>
<body>
<h1>500 Internal Privoxy Error</h1>
<p>Privoxy encountered an error while processing your request:</p>
<p><b>Could not load template file <code>no-server-data</code> or one of its included components.</b></p>
<p>Please contact your proxy administrator.</p>
<p>If you are the proxy administrator, please put the required file(s)in the <code><i>(confdir)</i>/templates</code> directory.  The location of the <code><i>(confdir)</i></code> directory is specified in the main Privoxy <code>config</code> file.  (It's typically the Privoxy install directory).</p>
</body>
</html>

解决方法一

就是在webui-user.bat文件里添加--no-gradio-queue,不知道加的地方对不对

webui-user.bat配置项

@echo off

set PYTHON=C:\Users\Cheng\AppData\Local\Programs\Python\Python310\python.exe
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=
git pull 
call webui.bat --no-gradio-queue

解决方法二

就是不断的打开webui-user.bat,关闭webui-user.bat文件,也可能解决切换模型报omething went wrong的问题



手机观看扫描下方微信小程序二维码


知识共享许可协议本作品采用知识共享署名-相同方式共享 4.0 国际许可协议进行许可。

相关推荐

暂无评论

目录展开