Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples on Teachable Machine Website No Longer Works #228

Open
ziyuan-linn opened this issue Nov 4, 2024 · 1 comment
Open

Examples on Teachable Machine Website No Longer Works #228

ziyuan-linn opened this issue Nov 4, 2024 · 1 comment

Comments

@ziyuan-linn
Copy link
Member

ziyuan-linn commented Nov 4, 2024

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.

@shiffman
Copy link
Member

shiffman commented Nov 4, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants