complete model integration

This commit is contained in:
2025-01-13 19:30:29 +08:00
parent fed52e66f9
commit 9356c00815
66 changed files with 2035 additions and 821 deletions

View File

@@ -0,0 +1,11 @@
self.onmessage = async function (_e: MessageEvent): Promise<void> {
// const {data} = e;
// const {width, height, uint8Array} = data;
// const prediction1 = await animePredictImage(width, height, uint8Array);
// const prediction2 = await animePredictImagePro(width, height, uint8Array);
// if (prediction1 === 'Anime' && (prediction2 === 'Furry' || prediction2 === 'Anime')) {
// self.postMessage({isAnime: true});
// return;
// }
};