THUDM / ChatGLM2-6B

ChatGLM2-6B: An Open Bilingual Chat LLM | 开源双语对话语言模型
Other
15.73k stars 1.85k forks source link

运行web_demo.py,向GLM提问遇到JS错误 #596

Open wrl1224 opened 1 year ago

wrl1224 commented 1 year ago

Is your feature request related to a problem? Please describe.

dom.js:238 Uncaught (in promise) DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.

Solutions

哪位大佬知道怎么解决?

Additional context

No response

malaohu commented 1 year ago

同样的问题。

最后我使用 streamlit run web_demo2.py 启动的

malaohu commented 1 year ago

原来是 gradio 版本太高导致的,卸载安装低版本 pip uninstall gradio pip install gradio==3.23.0

BlitheLe commented 10 months ago

3.39的版本也行

XiaYifen commented 4 months ago

同样的问题。

最后我使用 streamlit run web_demo2.py 启动的 为什么我使用 streamlit run web_demo2.py启动,web页面一直加载不出来呢?也不会报错