mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-12 13:17:45 +02:00
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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user