Update README.md
Added dynamic import syntax for loading from CDN.
Thanks for your contribution! Out of curiosity, I tried it out in Scribbler but ran into the following, do you know why this may be the case:
hi Charlie, Thanks for trying out. Scribbler runs the notebook in a sandbox by default for web-security. This disables access to cookies/cache/local storage etc. For running WebLLM, you will have to take it out of sandbox manually by clicking the red ⤯ button at top-right corner or by clicking "Edit->Trust the NB". Here is a working notebook on WebLLM with loading the library and running the model: https://app.scribbler.live/?jsnb=https://examples.scribbler.live/WebLLM-Experiments.jsnb
Tried it out, works smoothly. Thank you so much!
Thanks!! Looking forward to experimenting more with WebLLM/ mlc-llm
On Fri, Oct 4, 2024 at 10:20 AM Charlie Ruan @.***> wrote:
@.**** approved this pull request.
— Reply to this email directly, view it on GitHub https://github.com/mlc-ai/web-llm/pull/589#pullrequestreview-2347132499, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQNBZSUVEUUG2M72YABM4NDZZYNBFAVCNFSM6AAAAABPG735ASVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNBXGEZTENBZHE . You are receiving this because you authored the thread.Message ID: @.***>