drck007 commited on
Commit
4527bfa
·
verified ·
1 Parent(s): fd058ba

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -12,7 +12,7 @@ const example = document.getElementById('example');
12
  const EXAMPLE_URL = 'https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/city-streets.jpg';
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
 
 
12
  const EXAMPLE_URL = 'https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/city-streets.jpg';
13
 
14
  // Create a new object detection pipeline
15
+ status.textContent = 'Load-ing-foo model...';
16
  const detector = await pipeline('object-detection', 'Xenova/detr-resnet-50');
17
  status.textContent = 'Ready';
18