1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-24 01:29:48 +02:00

move ai scripts to blog source

This commit is contained in:
lxsang
2022-02-10 09:57:21 +01:00
parent e35e8852b9
commit 87e8ba94b4
6 changed files with 576 additions and 1 deletions

View File

@ -217,7 +217,7 @@ function PostController:analyse(n)
if not n then
n = 5
end
local path = "/home/mrsang/aiws/blog-clustering"
local path = WWW_ROOT."/ai"
local gettext = loadfile(path .. "/gettext.lua")()
local cluster = loadfile(path .. "/cluster.lua")()
local data = gettext.get({publish = 1})