diff --git a/snippets/markdown/image/tensorflowjs/javascript.md b/snippets/markdown/image/tensorflowjs/javascript.md index ad737bc..bc1b9c4 100644 --- a/snippets/markdown/image/tensorflowjs/javascript.md +++ b/snippets/markdown/image/tensorflowjs/javascript.md @@ -1,5 +1,52 @@ Learn more about how to use the code snippet on [github](https://github.com/googlecreativelab/teachablemachine-community/tree/master/libraries/image). +The issue lies in how the URL variable is being used in your JavaScript code. Specifically, URL is a reserved global object in JavaScript, and redefining it causes unintended behavior. When you assign a string to URL, it conflicts with the native URL object, leading to the broken behavior you observed. + ```html