Skip to content

Commit 41ca020

Browse files
authored
Add note for: Deploy To Your Github Pages (#292)
1 parent d53452b commit 41ca020

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ To get started, follow these steps:
3838
5. Keep in mind that WebNN currently supports the CPU backend only on Chrome or Edge browsers, and it requires enabling the experimental web platform features flag (see below). Ensure you have this flag enabled in your browser to fully experience WebNN functionality.
3939
6. Experiment with the code and explore how WebNN can enhance machine learning tasks in the browser, navigating to http://localhost:8080.
4040

41+
### Deploy To Your Github Pages
42+
43+
WebNN Samples is currently hosted on GitHub Pages, with model files stored on Amazon S3 and distributed via CloudFront. If you host WebNN Samples on your own GitHub Pages, you may encounter a 'failed to fetch' error due to CORS policy restrictions. To resolve this issue, please update the [weightsOrigin() configuration](https://github.com/webmachinelearning/webnn-samples/blob/master/common/utils.js#L6) as described in the [issue 285](https://github.com/webmachinelearning/webnn-samples/issues/285#issuecomment-2408988830).
44+
4145
### WebNN Installation Guides
4246

4347
To get started with WebNN on Intel AI PCs you will need:

0 commit comments

Comments
 (0)