Simply loading a dnn model via OpenCV.js

Thanks for the answer. But how can I load a model then? And how is one supposed to implement the example then?
As written, I already tried to get the paths from input fields…