ml5-next-gen icon indicating copy to clipboard operation
ml5-next-gen copied to clipboard

Examples on Teachable Machine Website No Longer Works

Open ziyuan-linn opened this issue 1 year ago • 2 comments

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.

teachable machine examples tab

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 avatar Nov 04 '24 22:11 ziyuan-linn

@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!

shiffman avatar Nov 04 '24 23:11 shiffman

this may be due to https://github.com/googlecreativelab/teachablemachine-community/issues/413 and consider also https://github.com/googlecreativelab/teachablemachine-community/issues/414

eyaler avatar Dec 03 '24 09:12 eyaler