Hello! I have been using Thunkable for a while now and one of the biggest mysteries to me is still Web APIs, mostly due to lack of experience. Now that there is more time with the current situations, I am trying to learn how to use it.
For one of my projects I am planning on using Teachable Machine by Google, specifically the images model. I found it recently and it has been super fun to play around with. The problem is I have no idea how to implement it into my Thunkable app via Web API.
I understand how to connect the URL and I watched the Thunkable X Tutorialās video about Web APIās so I sort of understand callingā¦? I was also able to find the model.json page. I just donāt know how to āsendā a photo (rather than a live webcam) from the user and get the result. It says on the github page // Refer to tmImage.loadFromFiles() in the API to support files from a file picker or files from your local hard drive but I canāt find the file.
I havenāt had a chance to look at this particular API, but we have a great playlist with lots of detailed explanations on how to use the Web API component and how to connect to several different APIs:
Hey Mythi!
Have you got the solution of how to use models trained on Teachable Machine inside the thunkable application framework? Iām actually needing for one of my project. If possible please guide me!!
Actually What Iām planning is Google has released Teachable Machine And Iām planning to use that trained model in my app using the link of teachable machine. But how to integrate in the backend of application. Can you please help?
Thatās true, using the platform to train a model using Thunkable data using specifically Teachable Machine is not possible yet.
I think this is possible but is not through Teachable Machine but through TensorFlow which is the ābrainsā of the whole deal. I will try to come up with a tutorial this weekend since Iām using this for a hackathon hehehe
I did some further research, would you guys would be comfortable with a tutorial regarding the following:
Teachable Machine + Google Functions
The thing is that the model needs to be deployed somewhere because there is no easy connection yet. Would be this ok or way too complicated? Just as a heads up, for a no-code tool like Thunkable we would be handling code with the google function and the model itself.
Why not? It would be great to perform Machine Learning on Thunkable.
Currently thinking of true no code platform is bit hard. So we need codes in the journey!
Sorry guys for taking a lot of timeā¦ I found way by integrating the keras model in a cloud run flask API.
Iām writing a tutorial on medium about this with all the steps.
On this note, if anyone would like to become a beta tester of the medium tutorial I would really appreciate it. I can give you credit at the end. This would be my first ever ārealā coding tutorial so any help is welcomed.
So itās like a restful api, to which we will send request, then requests will be processed on server(machine learning) and result will be received.
Then we polish the raw results to serve users on Thunkabke.
Am I right? Btw I would love to beta test.
Yea, only the tutorial is how to build that API with GCS. Itās the only way, I got it running for now. If the demand is higher maybe I could set up a service where you can upload the keras model and run it without needing to set up your own APIā¦
Buuuut baby steps! haha first this one and then I can try to scale it.