more attempts to fix build
This commit is contained in:
parent
35d41a8de5
commit
4fa4d2d327
File diff suppressed because it is too large
Load Diff
|
@ -21,8 +21,6 @@
|
|||
"@sveltejs/vite-plugin-svelte": "^3.0.0",
|
||||
"@tailwindcss/typography": "^0.5.13",
|
||||
"@tensorflow-models/universal-sentence-encoder": "^1.3.3",
|
||||
"@tensorflow/tfjs": "^4.19.0",
|
||||
"@tensorflow/tfjs-node": "^4.19.0",
|
||||
"@theatre/core": "^0.7.1",
|
||||
"@theatre/studio": "^0.7.1",
|
||||
"@threlte/theatre": "^2.1.7",
|
||||
|
@ -36,8 +34,6 @@
|
|||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-svelte": "^2.35.1",
|
||||
"fs-extra": "^11.2.0",
|
||||
"marked": "^12.0.2",
|
||||
"mdsvex": "^0.11.0",
|
||||
"postcss": "^8.4.38",
|
||||
"prettier": "^3.1.1",
|
||||
"prettier-plugin-svelte": "^3.1.2",
|
||||
|
@ -55,6 +51,9 @@
|
|||
"@threlte/core": "^7.3.0",
|
||||
"@threlte/extras": "^8.11.2",
|
||||
"@threlte/rapier": "^2.0.0",
|
||||
"three": "^0.159.0"
|
||||
"three": "^0.159.0",
|
||||
"@tensorflow/tfjs-node": "^4.19.0",
|
||||
"marked": "^12.0.2",
|
||||
"mdsvex": "^0.11.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
// src/lib/initModel.ts
|
||||
import('@tensorflow/tfjs');
|
||||
// import('@tensorflow/tfjs-node');
|
||||
import type { UniversalSentenceEncoder } from '@tensorflow-models/universal-sentence-encoder';
|
||||
import * as use from '@tensorflow-models/universal-sentence-encoder';
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
// import * as tf from '@tensorflow/tfjs-node';
|
||||
import * as tf from '@tensorflow/tfjs-node';
|
||||
|
||||
export type Embedding = {
|
||||
id: string;
|
||||
|
|
Loading…
Reference in New Issue