Pyscript handTrack ai example replicating

In the pyscript examples there is one called handTrack. Now this example is pretty cool and shows the potential of what pyscript can do with ai. The problem is that the python only really starts the program where the js actually does all the work. Now the js is obsfucated and no one can use it. How would I go about using my own model and own detection things.

Thanks!