kurnie commited on
Commit
a00aea3
·
verified ·
1 Parent(s): 8317007

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', 'kurnie/yolo-realtime');
17
  status.textContent = 'Ready';
18
 
19
  example.addEventListener('click', (e) => {