KovD3v commited on
Commit
dcc9640
·
verified ·
1 Parent(s): b2072cb

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -13,7 +13,7 @@ const EXAMPLE_URL = 'https://huggingface.co/datasets/Xenova/transformers.js-docs
13
 
14
  // Create a new object detection pipeline
15
  status.textContent = 'Loading model...';
16
- const detector = await pipeline('object-detection', 'Xenova/detr-resnet-50');
17
  status.textContent = 'Ready';
18
 
19
  example.addEventListener('click', (e) => {
 
13
 
14
  // Create a new object detection pipeline
15
  status.textContent = 'Loading model...';
16
+ const detector = await pipeline('object-detection', 'KovD3v/beachLitter');
17
  status.textContent = 'Ready';
18
 
19
  example.addEventListener('click', (e) => {