feat(server): turn off machine learning endpoint (#1361)

This commit is contained in:
Jason Rasmussen
2023-01-20 11:35:55 -05:00
committed by GitHub
parent a8cbda5f24
commit bdad18a572
5 changed files with 25 additions and 12 deletions

View File

@@ -1 +1,4 @@
export * from './upload_location.constant';
export const MACHINE_LEARNING_URL = process.env.IMMICH_MACHINE_LEARNING_URL || 'http://immich-machine-learning:3003';
export const MACHINE_LEARNING_ENABLED = MACHINE_LEARNING_URL !== 'false';