Examples on Teachable Machine Website No Longer Works
After training a model on Teachable Machine, the website shows various code examples. The example for p5.js no longer works after ml5's 1.0 update.
In the image above, the example has ml5@latest in the CDN link, which links to version 1 of the ml5 library. However, the code written in the example is for version 0.12. Running the example will cause an error.
We can't do much about this on our end, but perhaps it is worth reaching out to Google.
Tagging @dano1234.
@ziyuan-linn I think we might be able to submit a PR to this p5.js markdown file in the TM GitHub repo? But I'm not sure if this will automatically deploy the the TM website.
Hi @apitaru is this something you could maybe help with? We've updated ml5.js and we'd like to update the p5.js examples provided with teachable machine!
this may be due to https://github.com/googlecreativelab/teachablemachine-community/issues/413 and consider also https://github.com/googlecreativelab/teachablemachine-community/issues/414