Skip to content
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

由于base64导致图片显示不出来 #90

Closed
ctldragon opened this issue Oct 29, 2022 · 14 comments
Closed

由于base64导致图片显示不出来 #90

ctldragon opened this issue Oct 29, 2022 · 14 comments
Labels
bug Something isn't working

Comments

@ctldragon
Copy link

在沙盒中和QQ中皆显示不出来图片。在浏览器改前缀可以手动显示出图片,但是QQ不行。
有什么办法能解决吗?

image
image
image
image
image

@shigma
Copy link
Member

shigma commented Oct 29, 2022

未能复现。使用的是最新版本吗?

@ctldragon
Copy link
Author

未能复现。使用的是最新版本吗?

是最新版本
image

@ilharp
Copy link
Member

ilharp commented Oct 29, 2022

Possible duplicate of koishijs/koishi#821

Upstream bug

@ilharp
Copy link
Member

ilharp commented Oct 29, 2022

Possible workaround: use yarn start to start Koishi in production mode

@shigma
Copy link
Member

shigma commented Oct 29, 2022

Possible duplicate of koishijs/koishi#821

Upstream bug

我咋感觉不是 duplicate,那个是手动发送,这个是 bot 发的……而且那个不涉及 QQ 才对?

@shigma
Copy link
Member

shigma commented Oct 29, 2022

顺便使用的是官网还是 naifu 还是 sd-webui?

@ctldragon
Copy link
Author

Possible workaround: use to start Koishi in production modeyarn start

顺便使用的是官网还是 naifu 还是 sd-webui?

sd-webui

@ctldragon
Copy link
Author

Possible workaround: use to start Koishi in production modeyarn start

I started it with yarn start.

@shigma
Copy link
Member

shigma commented Oct 29, 2022

哦,我明白问题了,大概率是 sd-webui 有不同的 API 返回值导致的。应该很好解决。

能说明使用的是哪一版本的 sd-webui 吗?是否是 auto 的版本,以及下载的是哪个 commit?

@ctldragon
Copy link
Author

哦,我明白问题了,大概率是 sd-webui 有不同的 API 返回值导致的。应该很好解决。

能说明使用的是哪一版本的 sd-webui 吗?是否是 auto 的版本,以及下载的是哪个 commit?

https://github.com/AUTOMATIC1111/stable-diffusion-webui/

这个版本,直接 git clone 下来的。

@ctldragon
Copy link
Author

ctldragon commented Oct 29, 2022

开启了 --xformers --deepdanbooru --api

@shigma
Copy link
Member

shigma commented Oct 29, 2022

问题已定位。auto 升级了 gradio,导致返回的图片多了一个固定前缀。

@shigma shigma closed this as completed in 0fd29ef Oct 29, 2022
@shigma
Copy link
Member

shigma commented Oct 29, 2022

最新版 1.12.2 应该已经修复了此问题。感谢您的反馈。

@ctldragon
Copy link
Author

最新版 1.12.2 应该已经修复了此问题。感谢您的反馈。

谢谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants