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`,