diff --git a/application.properties b/application.properties index 384737f..74f2d74 100644 --- a/application.properties +++ b/application.properties @@ -23,4 +23,4 @@ nsfw.enabled=true # python 可执行文件路径;留空自动在 PATH 里找 python/python3/py nsfw.python=C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python312\\python.exe # 判定阈值 0~1,敏感部位检测分高于此才算色情(默认 0.2,实测) -nsfw.threshold=0.2 +nsfw.threshold=0.35 diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 37374b2..71f2df6 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -24,10 +24,6 @@ 媒体库 - - - 色情识别 - diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index 529f35c..bdff5c0 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -2,7 +2,6 @@ import Vue from 'vue' import Router from 'vue-router' import Dashboard from '../views/Dashboard.vue' import MediaList from '../views/MediaList.vue' -import NsfwList from '../views/NsfwList.vue' import Scan from '../views/Scan.vue' Vue.use(Router) @@ -12,7 +11,6 @@ export default new Router({ {path: '/', redirect: '/scan'}, {path: '/dashboard', component: Dashboard}, {path: '/media', component: MediaList}, - {path: '/nsfw', component: NsfwList}, {path: '/scan', component: Scan} ] }) diff --git a/frontend/src/views/MediaList.vue b/frontend/src/views/MediaList.vue index 40f9a54..a0bc1e6 100644 --- a/frontend/src/views/MediaList.vue +++ b/frontend/src/views/MediaList.vue @@ -25,6 +25,9 @@ + + + @@ -32,6 +35,21 @@ + + + + + +