groupcloud 不默认安装 AI 分词。

This commit is contained in:
xtaodada 2021-06-21 15:33:36 +08:00
parent 7ad2f5663b
commit e92dbb01ba
2 changed files with 2 additions and 3 deletions

View File

@ -35,9 +35,8 @@ async def group_word(context):
imported_1 = True
if not imported:
try:
await context.edit("支持库 `jieba` `paddlepaddle-tiny` 未安装...\n正在尝试自动安装...")
await context.edit("支持库 `jieba` 未安装...\n正在尝试自动安装...")
await execute(f'{executable} -m pip install jieba')
await execute(f'{executable} -m pip install paddlepaddle-tiny')
await sleep(10)
result = await execute(f'{executable} -m pip show jieba')
if len(result) > 0:

View File

@ -502,7 +502,7 @@
},
{
"name": "groupword",
"version": "1.05",
"version": "1.06",
"section": "chat",
"maintainer": "xtaodada",
"size": "3.32 kb",