Skip to content

Commit

Permalink
修复依赖自动安装程序
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-husky committed Jul 12, 2023
1 parent fe7b651 commit 2c18b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crazy_functions/Langchain知识库.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def 知识库问答(txt, llm_kwargs, plugin_kwargs, chatbot, history, system_pro
)
yield from update_ui(chatbot=chatbot, history=history) # 刷新界面
from .crazy_utils import try_install_deps
try_install_deps(['zh_langchain==0.2.1'])
try_install_deps(['zh_langchain==0.2.1', 'pypinyin'])

# < --------------------读取参数--------------- >
if ("advanced_arg" in plugin_kwargs) and (plugin_kwargs["advanced_arg"] == ""): plugin_kwargs.pop("advanced_arg")
Expand Down

0 comments on commit 2c18b84

Please sign in to comment.