Closed WangGosh closed 7 months ago
Hmmm this should really not happen as if local installation is not detected we should fall back to the remote editor: https://github.com/Mikubill/sd-webui-controlnet/blob/f0a94cb2c448ca4ddce5af11589a072d4c97b1aa/javascript/openpose_editor.js#L4
Unless your local setup is responding that error message string with http response status 200. Can you confirm that in the chrome dev tools?
嗯,这确实不应该发生,就好像未检测到本地安装一样,我们应该回退到远程编辑器:https://github.com/Mikubill/sd-webui-controlnet/blob/f0a94cb2c448ca4ddce5af11589a072d4c97b1aa/javascript/openpose_editor.js#L4
除非您的本地设置以 http 响应状态 200 响应该错误消息字符串。您可以在 chrome 开发工具中确认这一点吗?
我已经解决了这个问题,云服务器上面的调用地址,需要完整的的地址,例如:/mnt/workspace/stable-diffusion-webui/openpose_editor_index
我是更改了https://github.com/huchenlei/sd-webui-openpose-editor/blob/main/scripts/openpose_editor.py,里面的@app.get和@app.post
Is there an existing issue for this?
What happened?
I deployed a WebUI on an Alibaba Cloud DSW server. However, when I open the editor, it displays a blank window and shows an invalid address. I'm unsure how to modify this address or which file to modify.
Steps to reproduce the problem
What should have happened?
Commit where the problem happens
webui: controlnet: openpose-editor:
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
Console logs
Browser logs
I don't know where it is
Additional information
No response