andreer commited on
Commit
01248a3
·
verified ·
1 Parent(s): 5c4553a

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('Xenova/colbertv2.0');
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('feature-extraction','Xenova/colbertv2.0');
17
  status.textContent = 'Ready';
18
 
19
  example.addEventListener('click', (e) => {