AI: Refactor use of face embeddings, labels, and nsfw models #127 #1090

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-04-10 16:49:34 +02:00
parent ecef34a8da
commit caf3ae1ab5
52 changed files with 1040 additions and 396 deletions

9
pkg/media/source.go Normal file
View File

@@ -0,0 +1,9 @@
package media
type Src = string
// Data source types.
const (
SrcLocal Src = "local"
SrcRemote Src = "remote"
)