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

Teachable Machine Fallback URL #343

Open
pmalacho-mit opened this issue Mar 11, 2024 · 0 comments
Open

Teachable Machine Fallback URL #343

pmalacho-mit opened this issue Mar 11, 2024 · 0 comments

Comments

@pmalacho-mit
Copy link
Collaborator

This PR introduces some code to replace the given domain for teachable machine models with a storage one discovered through interacting with the service. This is done so that we can append a randomly generated query parameter onto the end of our request for model data to ensure the results are not cached and thus updates to the model are observed (this generated query parameter is lost when google redirects the request from the teachable machine domain to the storage location).

However, this is vulnerable to google deciding to change the storage location. So the extension should be overhauled (slightly) so that we can try multiple model URLs when trying to load a model. First the storage one, and then the teachable machine one as a fallback (since we can assume that one is safe to use, since it is provided to students via the teachable machine interface).

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

1 participant