fix(src/utils): remove unused sentenceEncoderModule for cleanup
Removed the unused `sentenceEncoderModule` object from `workerUtils.ts` to simplify the code and improve maintainability.
This commit is contained in:
parent
6a8d044970
commit
e81979dc84
1 changed files with 0 additions and 1 deletions
|
|
@ -31,7 +31,6 @@ export function executeInWebWorker<T>(fnString: string, args: any): Promise<T> {
|
|||
self.use = {}
|
||||
self.tf = {}
|
||||
self.sentenceEncoder = {}
|
||||
self.sentenceEncoderModule = {}
|
||||
|
||||
self.onmessage = async function(e) {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue