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

输入特定的prompt不能得到正确输出 #2

Open
shoyu3 opened this issue Dec 2, 2022 · 2 comments
Open

输入特定的prompt不能得到正确输出 #2

shoyu3 opened this issue Dec 2, 2022 · 2 comments

Comments

@shoyu3
Copy link

shoyu3 commented Dec 2, 2022

所有nai格式的prompt中带有的圆括号转换为sd格式时都会有问题

例如对bot发送::),{:(}

会同时收到两条回复:
:),(::1.05)

花转圆
——————————
,

圆转花

预期的正确输出:
:\), (:\(:1.05)

花转圆

顺便这点是我在用这个项目的核心代码转写成js做测试的时候想到的……
(不经常提issue,如有冒犯请见谅)

@sudoskys
Copy link
Owner

sudoskys commented Dec 12, 2022

目前做的出入栈有可能有这种问题。为了支持没有逗号的prompt转换做的,但是效果还不如上一版本。

@sudoskys
Copy link
Owner

d6d3b5e

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

No branches or pull requests

2 participants