UX: Improve "disable-tensorflow" flag description

This commit is contained in:
Michael Mayer 2021-09-24 05:42:06 +02:00
parent 85dfb4bc11
commit 5f0336d0f7
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ func (c *Config) DisableExifTool() bool {
return c.options.DisableExifTool
}
// DisableTensorFlow tests if all features that require TensorFlow should be disabled.
// DisableTensorFlow tests if all features depending on TensorFlow should be disabled.
func (c *Config) DisableTensorFlow() bool {
if LowMem && !c.options.DisableTensorFlow {
c.options.DisableTensorFlow = true

View file

@ -180,7 +180,7 @@ var GlobalFlags = []cli.Flag{
},
cli.BoolFlag{
Name: "disable-tensorflow",
Usage: "disables all features that require TensorFlow",
Usage: "disables all features depending on TensorFlow",
EnvVar: "PHOTOPRISM_DISABLE_TENSORFLOW",
},
cli.BoolFlag{