diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 48abee7..26ec11b 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -32,6 +32,10 @@ $ cd langchain-ChatGLM # 项目中 pdf 加载由先前的 detectron2 替换为使用 paddleocr,如果之前有安装过 detectron2 需要先完成卸载避免引发 tools 冲突 $ pip uninstall detectron2 +# 检查paddleocr依赖,linux环境下paddleocr依赖libX11,libXext +$ yum install libX11 +$ yum install libXext + # 安装依赖 $ pip install -r requirements.txt diff --git a/webui.py b/webui.py index c6d74bf..77f34c4 100644 --- a/webui.py +++ b/webui.py @@ -427,4 +427,4 @@ with gr.Blocks(css=block_css, theme=gr.themes.Default(**default_theme_args)) as server_port=7860, show_api=False, share=False, - inbrowser=False)) + inbrowser=False)) \ No newline at end of file