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

修复图生图init_images字段为空的bug, 过滤图生图提示词中的额外字符 #870

Merged
merged 1 commit into from
May 24, 2023

Conversation

FelixFeli
Copy link
Contributor

修复图生图init_images字段为空的bug

  • 需要调用get_bytes方法,才能获取到base64字段内容

过滤图生图提示词中的额外字符

  • 消息链显示字符串中有“[图片]”字样,需要过滤

Fixes #839

过滤图生图提示词中的额外字符
@lss233
Copy link
Owner

lss233 commented May 24, 2023

Thank you!

@lss233 lss233 merged commit 72b932e into lss233:browser-version May 24, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] 使用AI画图(img2img)时,调用api的请求载荷init_images字段为空
2 participants