Getting Error affects Humans output #192
-
Hi |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
As a security measure, Chrome enforces CORS (cross-origin resource sharing) rules so You need to set appropriate HTTP header on your web server if you want to access property directly If you're using |
Beta Was this translation helpful? Give feedback.
-
Thanks, I believe the issue is in disposing the objects (frames, tensor, output) I tried it using human.tf.dispose and using tf.dispose and still getting the same error |
Beta Was this translation helpful? Give feedback.
As a security measure, Chrome enforces CORS (cross-origin resource sharing) rules so
nobody can access DOM element properties directly
You need to set appropriate HTTP header on your web server if you want to access property directly
If you're using
human
built-in dev server, it sets it for youIf you're using your own (or using
NextJS
which does it for you), you have to configure CORS rulesSee https://enable-cors.org/server.html for examples