Xenova HF staff commited on
Commit
1d9e4a5
1 Parent(s): df62655

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -14,7 +14,7 @@ const THRESHOLD = 0.25;
14
 
15
  // Create a new object detection pipeline
16
  status.textContent = 'Loading model...';
17
- const model_id = 'onnx-community/yolov10b';
18
  const processor = await AutoProcessor.from_pretrained(model_id);
19
  const model = await AutoModel.from_pretrained(model_id);
20
  status.textContent = 'Ready';
 
14
 
15
  // Create a new object detection pipeline
16
  status.textContent = 'Loading model...';
17
+ const model_id = 'onnx-community/yolov10s';
18
  const processor = await AutoProcessor.from_pretrained(model_id);
19
  const model = await AutoModel.from_pretrained(model_id);
20
  status.textContent = 'Ready';