feat: add browser talking avatar pipeline
This commit is contained in:
1 parent
ebcb6e880a
commit
16c0bf7f2e
21 files changed
+1746
-22
No files matched your search
@@ -43,7 +43,8 @@ function isHuggingFaceModelRequest(url) {
|
||||
|
||||
function isRuntimeAssetRequest(url) {
|
||||
if (url.origin === self.location.origin) {
|
||||
return url.pathname.startsWith("/assets/") && hasCacheableExtension(url.pathname);
|
||||
return url.pathname.startsWith("/models/")
|
||||
|| (url.pathname.startsWith("/assets/") && hasCacheableExtension(url.pathname));
|
||||
}
|
||||
|
||||
return CDN_HOSTS.has(url.hostname) && (
|
||||
|
||||
Reference in new issue
Block a user