Commit d61eaaa
authored
Update worker.js
Added:
// Ensures models are fetched from Hugging Face Hub, not from your GitHub Pages /models directory
env.localModelPath = null;
env.remoteModelsPath = 'https://huggingface.co/';1 parent 7a7202c commit d61eaaa
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
0 commit comments