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

【求助】sdwebui插件的配置与启用 #5

Open
nagaki09 opened this issue Jun 9, 2023 · 5 comments
Open

【求助】sdwebui插件的配置与启用 #5

nagaki09 opened this issue Jun 9, 2023 · 5 comments

Comments

@nagaki09
Copy link

nagaki09 commented Jun 9, 2023

  1. 我先私聊机器人微信账号,获得管理员认证
  2. 然后使用指令:
    image
  3. 此时发现服务端上,在\plugin路径下已经多了一个plugin_sdwebui的文件夹,在服务端上按流程配置创建config.json
    2744cac75f9b90c40338a082aec7c9e
    主要是将host和端口改成了我部署sd的机器,并且我部署sd的机器确定能从公网访问:
    09dc210b8b7fe5fd942fce349a875a7
  4. 同步修改了sdwebapi.py中的host和端口:
    24c2f3c71d648286e47f492faca5d5d

想请问按以上步骤是否就能成功激活该插件?
是否需要重启整个机器人?或者还需要其他操作?

@lanvent
Copy link
Owner

lanvent commented Jun 9, 2023

第4步并不需要。 更改config.json后,使用#scanp就扫描并加载sdwebui插件; 如果你是在扫描后才更改的配置文件,可以使用#reloadp sdwebui 或重启程序来更新配置

@nagaki09
Copy link
Author

nagaki09 commented Jun 9, 2023

第4步并不需要。 更改config.json后,使用#scanp就扫描并加载sdwebui插件; 如果你是在扫描后才更改的配置文件,可以使用#reloadp sdwebui 或重启程序来更新配置

多谢,另外有个新问题,就是中文翻译成英文的时候如果失败,会导致sd一直被卡住
image
这个是概率性问题?我好像也没有专门申请百度的翻译api

@lanvent
Copy link
Owner

lanvent commented Jun 9, 2023

翻译失败时会使用原文传入sdwebui,可以看到translated prompt显示是原文

@taozhiyuai
Copy link

第4步并不需要。 更改config.json后,使用#scanp就扫描并加载sdwebui插件; 如果你是在扫描后才更改的配置文件,可以使用#reloadp sdwebui 或重启程序来更新配置

多谢,另外有个新问题,就是中文翻译成英文的时候如果失败,会导致sd一直被卡住 image 这个是概率性问题?我好像也没有专门申请百度的翻译api

@lanvent @nagaki09

如下图,我这边参数都传输了,SD界面显示进度条,但好像没有提示词.最后也不能得到,图片.请问应该如何处理.无论我是用readme.txt里面的提示词,还是自己编写提示词,都没有最后的图片出来.

截屏2024-04-02 13 32 46

@kvgary
Copy link

kvgary commented Apr 5, 2024

我也是这个情况,问题解决了吗?

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

4 participants