From 4a8a811373447ac49d76fd485a56ace502e78805 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Thu, 14 Sep 2023 16:57:27 -0700 Subject: [PATCH] No public description PiperOrigin-RevId: 565516592 --- mediapipe/tasks/web/core/fileset_resolver.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mediapipe/tasks/web/core/fileset_resolver.ts b/mediapipe/tasks/web/core/fileset_resolver.ts index 34df13999..ad48bb7ec 100644 --- a/mediapipe/tasks/web/core/fileset_resolver.ts +++ b/mediapipe/tasks/web/core/fileset_resolver.ts @@ -51,11 +51,6 @@ async function createFileset( const suffix = await isSimdSupported() ? 'wasm_internal' : 'wasm_nosimd_internal'; - // For backwards compatiblity, we treat an unset `basePath` as a relative - // path. FilesetResolver provides an empty path as a default, which is not - // rewritten to '.'. - basePath = basePath ?? '.'; - return { wasmLoaderPath: `${basePath}/${taskName}_${suffix}.js`, wasmBinaryPath: `${basePath}/${taskName}_${suffix}.wasm`,