Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resources.json is empty? #97

Open
Hugo-Dz opened this issue Jan 22, 2024 · 1 comment
Open

resources.json is empty? #97

Hugo-Dz opened this issue Jan 22, 2024 · 1 comment

Comments

@Hugo-Dz
Copy link

Hugo-Dz commented Jan 22, 2024

Hi there, I tried to use the web version of the library (1.4.0) but got an empty resources.json file.

I also had to change:

// src/index.ts
import { memoize } from "lodash";
import ndarray5 from "ndarray";

// src/utils.ts
import ndarray2 from "ndarray";

// src/codecs.ts
import ndarray from "ndarray";

to

// src/index.ts
import pkg from "lodash";
import ndarray5 from "ndarray";

// src/utils.ts
import ndarray2 from "ndarray";

// src/codecs.ts
import ndarray from "ndarray";
const { memoize } = pkg;

Else it doesn't work with SvelteKit 🤔

CleanShot 2024-01-22 at 15 57 08@2x

CleanShot 2024-01-22 at 15 58 37@2x

@DanielHauschildt
Copy link
Contributor

It has been moved into it's own package. background-removal-data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants