fix(server): disable classification by default (#5708)

* disable classification by default

* fixed tests
This commit is contained in:
Mert 2023-12-15 00:34:18 -05:00 committed by GitHub
parent 16f385626e
commit 458257847e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 3 deletions

View file

@ -67,7 +67,7 @@ export const defaults = Object.freeze<SystemConfig>({
enabled: process.env.IMMICH_MACHINE_LEARNING_ENABLED !== 'false',
url: process.env.IMMICH_MACHINE_LEARNING_URL || 'http://immich-machine-learning:3003',
classification: {
enabled: true,
enabled: false,
modelName: 'microsoft/resnet-50',
minScore: 0.9,
},