Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop: remove Tensorflow with sensitive media detection #184

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

1673beta
Copy link
Contributor

What

AiServiceを廃止
tfjsとnsfwjsを依存から排除

Why

  • 使用しているtfjsとnsfwjsのバージョンが古い
  • メモリリークの疑いがtfjsにあるため

Additional info (optional)

Checklist

  • Read the contribution guide
  • Test working in a local environment
  • (If needed) Update CHANGELOG_CHERRYPICK.md
  • (If possible) Add tests

Copy link
Contributor

이 PR에 의한 api.json 차이

차이점은 여기에서 볼 수 있음
--- base
+++ head
@@ -253,18 +253,6 @@
                         "null"
                       ]
                     },
-                    "sensitiveMediaDetection": {
-                      "type": "string"
-                    },
-                    "sensitiveMediaDetectionSensitivity": {
-                      "type": "string"
-                    },
-                    "setSensitiveFlagAutomatically": {
-                      "type": "boolean"
-                    },
-                    "enableSensitiveMediaDetectionForVideos": {
-                      "type": "boolean"
-                    },
                     "proxyAccountId": {
                       "type": [
                         "string",
@@ -744,10 +732,6 @@
                     "mcaptchaSecretKey",
                     "recaptchaSecretKey",
                     "turnstileSecretKey",
-                    "sensitiveMediaDetection",
-                    "sensitiveMediaDetectionSensitivity",
-                    "setSensitiveFlagAutomatically",
-                    "enableSensitiveMediaDetectionForVideos",
                     "proxyAccountId",
                     "email",
                     "smtpSecure",
@@ -16196,31 +16180,6 @@
                   "enableTestcaptcha": {
                     "type": "boolean"
                   },
-                  "sensitiveMediaDetection": {
-                    "type": "string",
-                    "enum": [
-                      "none",
-                      "all",
-                      "local",
-                      "remote"
-                    ]
-                  },
-                  "sensitiveMediaDetectionSensitivity": {
-                    "type": "string",
-                    "enum": [
-                      "medium",
-                      "low",
-                      "high",
-                      "veryLow",
-                      "veryHigh"
-                    ]
-                  },
-                  "setSensitiveFlagAutomatically": {
-                    "type": "boolean"
-                  },
-                  "enableSensitiveMediaDetectionForVideos": {
-                    "type": "boolean"
-                  },
                   "proxyAccountId": {
                     "type": [
                       "string",

Get diff files from Workflow Page

@1673beta 1673beta merged commit d8b9f45 into develop Dec 20, 2024
23 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant