Skip to content

Commit

Permalink
Add note for: Deploy To Your Github Pages (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibelem authored Oct 25, 2024
1 parent d53452b commit 41ca020
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ To get started, follow these steps:
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.
6. Experiment with the code and explore how WebNN can enhance machine learning tasks in the browser, navigating to http://localhost:8080.

### Deploy To Your Github Pages

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).

### WebNN Installation Guides

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

0 comments on commit 41ca020

Please sign in to comment.