From 947f07973505db5ea9cc30cc642dfd3e2ecb75b5 Mon Sep 17 00:00:00 2001 From: nvisser Date: Wed, 13 Jul 2022 14:00:59 +0200 Subject: [PATCH] Make tensorflow an optinal dependency (#8986) --- packages/backend/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/backend/package.json b/packages/backend/package.json index c5a73dc5fd..d54e2d304f 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -13,6 +13,9 @@ "chokidar": "^3.3.1", "lodash": "^4.17.21" }, + "optionalDependencies": { + "@tensorflow/tfjs-node": "3.18.0" + }, "dependencies": { "@bull-board/koa": "4.0.0", "@discordapp/twemoji": "14.0.2", @@ -23,7 +26,6 @@ "@peertube/http-signature": "1.6.0", "@sinonjs/fake-timers": "9.1.2", "@syuilo/aiscript": "0.11.1", - "@tensorflow/tfjs-node": "3.18.0", "abort-controller": "3.0.0", "ajv": "8.11.0", "archiver": "5.3.1",