Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Example] Update content security policy to include new hf lfs cdn #603

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

Neet-Nestor
Copy link
Contributor

@Neet-Nestor Neet-Nestor commented Oct 7, 2024

Related issue: #590

Hugging Face started to use a new domain name https://cdn-lfs-us-1.hf.co besides the original https://cdn-lfs-us-1.huggingface.co for storing model weight files.

This PR updated the content security policy of the chrome extension examples to allow the extension to connect to the new domain to download weights and load the models.

@Neet-Nestor Neet-Nestor force-pushed the chrome_extension_csp_hf_lfs_cdn branch from a1baad3 to 4c76c20 Compare October 7, 2024 12:55
@Neet-Nestor Neet-Nestor merged commit ae67756 into main Oct 7, 2024
1 check passed
@Neet-Nestor Neet-Nestor deleted the chrome_extension_csp_hf_lfs_cdn branch October 7, 2024 12:59
Copy link
Contributor

@CharlieFRuan CharlieFRuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

jzhao62 pushed a commit to jzhao62/web-llm that referenced this pull request Dec 8, 2024
…lc-ai#603)

Related issue: mlc-ai#590

Hugging Face started to use a new domain name https://cdn-lfs-us-1.hf.co
besides the original https://cdn-lfs-us-1.huggingface.co in storing
model weight files.

This PR updated the content security policy of the chrome extension
examples to allow the extension to connect to the new domain to download
weights and load the models.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants