I can use inferencejs in simple HTMLs. But errors occur when I implements it in Vitepress.
It happens when I tried to load the model by calling inferEngine.startWorker
. I can reproduce it in any model.
Error stack:
TypeError: Spread syntax requires …iterable[Symbol.iterator] to be a function
at initModel (627f1818-1150-43a4-9d4a-f38a73db24c8:33428:1560)
at async ha (627f1818-1150-43a4-9d4a-f38a73db24c8:33428:1695)
- Project Type:
- Operating System & Browser: Chrome
- Project Universe Link or Workspace/Project ID: Any