Spaces:
Running
Running
Update index.js
Browse files
index.js
CHANGED
|
@@ -16,7 +16,7 @@ const THRESHOLD = 0.25;
|
|
| 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';
|
| 21 |
|
| 22 |
example.addEventListener('click', (e) => {
|
|
|
|
| 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: false });
|
| 20 |
status.textContent = 'Ready';
|
| 21 |
|
| 22 |
example.addEventListener('click', (e) => {
|