Xenova HF staff commited on
Commit
bab5f49
1 Parent(s): 2e5e509

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.2;
14
 
15
  // Create a new object detection pipeline
16
  status.textContent = 'Loading model...';
17
- const model_id = 'onnx-community/yolov10m';
18
  const processor = await AutoProcessor.from_pretrained(model_id);
19
  const model = await AutoModel.from_pretrained(model_id, { quantized: true });
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, { quantized: true });
20
  status.textContent = 'Ready';