web: remove the early prototype of cutout functionality

at the time of this commit, there are no models that are good enough and can run in a web browser. this feature might come back when web onnx gets support for beefier models.
This commit is contained in:
wukko
2025-02-07 16:55:28 +06:00
parent 039ccf91be
commit adaf502d66
9 changed files with 2 additions and 727 deletions

View File

@ -89,9 +89,6 @@ export default defineConfig({
rollupOptions: {
output: {
manualChunks: (id) => {
if (id.includes('huggingface/transformers'))
return 'hf_transformers';
if (id.includes('/web/i18n') && id.endsWith('.json')) {
const lang = id.split('/web/i18n/')?.[1].split('/')?.[0];
if (lang) {