Skip to content

Commit dab3a76

Browse files
committed
Config: Clarify NSFW flag help text and drop stale TensorFlow note
1 parent ceb3086 commit dab3a76

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/config/flags.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ var Flags = CliFlags{
289289
Flag: &cli.BoolFlag{
290290
Name: "upload-nsfw",
291291
Aliases: []string{"n"},
292-
Usage: "allows uploads that might be offensive (detecting unsafe content requires TensorFlow)",
292+
Usage: "allows uploads that might be offensive (when disabled, files flagged by the NSFW model are rejected before indexing)",
293293
EnvVars: EnvVars("UPLOAD_NSFW"),
294294
}}, {
295295
Flag: &cli.StringFlag{
@@ -1225,7 +1225,7 @@ var Flags = CliFlags{
12251225
}}, {
12261226
Flag: &cli.BoolFlag{
12271227
Name: "detect-nsfw",
1228-
Usage: "flags newly added pictures as private if they might be offensive (requires TensorFlow)",
1228+
Usage: "flags newly added pictures as private if they might be offensive (uses the configured NSFW model; built-in TensorFlow by default)",
12291229
EnvVars: EnvVars("DETECT_NSFW"),
12301230
}}, {
12311231
Flag: &cli.StringFlag{

0 commit comments

Comments
 (0)