-
Notifications
You must be signed in to change notification settings - Fork 5k
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
超算运行后startup.py一键启动后 部署成功 但是只能打开API的连接 无法打开WEBUI的连接 #3396
Comments
嗨,@A-runaaaa!很高兴再次见到你。希望你一切都好! 根据您提供的信息,无法打开Web UI界面可能是由于网络配置或Web UI服务方式的问题。具体来说, 要解决此问题,可以考虑以下修改:
这是启动Web UI的Streamlit服务器的相关代码部分: cmd = ["streamlit", "run", "webui.py",
"--server.address", host,
"--server.port", str(port),
"--theme.base", "light",
"--theme.primaryColor", "#165dff",
"--theme.secondaryBackgroundColor", "#f5f5f5",
"--theme.textColor", "#000000",
]
if run_mode == "lite":
cmd += [
"--",
"lite",
]
p = subprocess.Popen(cmd) 确保 此外,我在Langchain-Chatchat存储库中找到了一些类似的问题,可能会对您有所帮助: 如果您在尝试打开Langchain-Chatchat的web版本时在应用程序日志中看到确切的错误消息,它可能会提供更多线索来帮助解决问题。提供更多信息将有助于更有效地解决问题。 Sources
|
@A-runaaaa 同样的问题,请问解决了吗 |
我把服务器防火墙关了就好了: |
在超算服务器上运行startup.py一件启动后 也是正常的读取模型部署模型,全部部署完之后有上面图片的日志,能够打开Streamlit的API界面但是无法打开webui的界面是什么原因呢,需要修改哪个地方么
The text was updated successfully, but these errors were encountered: