3 ms·
There is such API. https://developer.mozilla.org/en-US/docs/Web/API/File_System_API https://developer.mozilla.org/en-US/docs/Web/API/File_System...
by jampekka 3y ago
There is such API.
https://developer.mozilla.org/en-US/docs/Web/API/File_System_API https://developer.mozilla.org/en-US/docs/Web/API/File_System...
- elpocko 3y agoStill requires drag&drop on most browsers because the File/DirectoryPicker API isn't universally supported.
- jampekka 3y agoOrigin private file system is supported in all modern browsers. That does make sharing the models between origins difficult at best, but for one origin works fine. And in any case it's easier to direct users to install Chrome (or preferably Chromium) or instruct drag&drop than doing the brittle and error and bitrot prone virtualenv-pip-docker-git song and dance.