aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rw-r--r--rules/rspamd.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/rules/rspamd.lua b/rules/rspamd.lua
index 1c0ddaa8a..6b53828ee 100644
--- a/rules/rspamd.lua
+++ b/rules/rspamd.lua
@@ -71,4 +71,7 @@ if rmaps and type(rmaps) == 'table' then
rspamd_maps[k] = map_or_err
end
end
-end \ No newline at end of file
+end
+
+local rspamd_nn = require "lua_nn"
+rspamd_nn.load_rspamd_nn() -- Load defined models \ No newline at end of file