fix(facial-expressions): base url for models (#11218)
This commit is contained in:
parent
25f53503e8
commit
7751060b63
|
@ -67,8 +67,8 @@ export function loadWorker() {
|
|||
return;
|
||||
}
|
||||
|
||||
const baseUrl = getBaseUrl();
|
||||
let workerUrl = `${baseUrl}libs/facial-expressions-worker.min.js`;
|
||||
const baseUrl = `${getBaseUrl()}/libs/`;
|
||||
let workerUrl = `${baseUrl}facial-expressions-worker.min.js`;
|
||||
|
||||
const workerBlob = new Blob([ `importScripts("${workerUrl}");` ], { type: 'application/javascript' });
|
||||
|
||||
|
|
Loading…
Reference in New Issue