web-llm icon indicating copy to clipboard operation
web-llm copied to clipboard

Update README.md

Open gopi-suvanam opened this issue 1 year ago • 2 comments

Added dynamic import syntax for loading from CDN.

gopi-suvanam avatar Oct 02 '24 06:10 gopi-suvanam

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: image

CharlieFRuan avatar Oct 02 '24 14:10 CharlieFRuan

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

gopi-suvanam avatar Oct 03 '24 02:10 gopi-suvanam

Tried it out, works smoothly. Thank you so much!

CharlieFRuan avatar Oct 04 '24 04:10 CharlieFRuan

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: @.***>

gopi-suvanam avatar Oct 04 '24 05:10 gopi-suvanam